summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-04 08:59:05 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-04 08:59:05 +0100
commitbfe47e01bbac74782fed48a3d265a2ee4ae9c7b0 (patch)
tree40bdb9c0d0fe55bd0bc026197981f25d1b7fcd03 /bin
parentb23b804311e0a7566fd5d2df39d19b44922c4931 (diff)
downloaduca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.gz
uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.bz2
uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.xz
uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.zip
Fix UI loading logic one more time ...
Diffstat (limited to 'bin')
-rw-r--r--bin/gui/control.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/gui/control.c b/bin/gui/control.c
index 95f7525..bc1931b 100644
--- a/bin/gui/control.c
+++ b/bin/gui/control.c
@@ -1366,11 +1366,11 @@ main (int argc, char *argv[])
g_warning ("Cannot load UI: `%s'. Trying in current working directory.", error->message);
g_error_free (error);
error = NULL;
- }
- if (!gtk_builder_add_from_file (builder, "control.glade", &error)) {
- g_warning ("Cannot load UI: `%s'.", error->message);
- return 1;
+ if (!gtk_builder_add_from_file (builder, "control.glade", &error)) {
+ g_warning ("Cannot load UI: `%s'.", error->message);
+ return 1;
+ }
}
plugin_manager = uca_plugin_manager_new ();