summaryrefslogtreecommitdiffstats
path: root/bin/gui/control.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-04 08:54:02 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-04 08:54:02 +0100
commitb23b804311e0a7566fd5d2df39d19b44922c4931 (patch)
tree8bb755a7e8b97371c92c4f111db35a22fdc41e1b /bin/gui/control.c
parent6823f2cd04d84144d32caa9e32651c28254b2d56 (diff)
downloadlibuca-b23b804311e0a7566fd5d2df39d19b44922c4931.tar.gz
libuca-b23b804311e0a7566fd5d2df39d19b44922c4931.tar.bz2
libuca-b23b804311e0a7566fd5d2df39d19b44922c4931.tar.xz
libuca-b23b804311e0a7566fd5d2df39d19b44922c4931.zip
Reset error variable
Diffstat (limited to 'bin/gui/control.c')
-rw-r--r--bin/gui/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gui/control.c b/bin/gui/control.c
index 16fb342..95f7525 100644
--- a/bin/gui/control.c
+++ b/bin/gui/control.c
@@ -1365,6 +1365,7 @@ main (int argc, char *argv[])
if (!gtk_builder_add_from_file (builder, CONTROL_GLADE_PATH, &error)) {
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)) {