diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-04 08:59:05 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-04 08:59:05 +0100 |
commit | bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0 (patch) | |
tree | 40bdb9c0d0fe55bd0bc026197981f25d1b7fcd03 | |
parent | b23b804311e0a7566fd5d2df39d19b44922c4931 (diff) | |
download | uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.gz uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.bz2 uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.tar.xz uca-bfe47e01bbac74782fed48a3d265a2ee4ae9c7b0.zip |
Fix UI loading logic one more time ...
-rw-r--r-- | bin/gui/control.c | 8 |
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 (); |