newer gtk release are checking that the error pointer is NULL, avoid crash.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 8 Oct 2014 16:54:16 +0000 (18:54 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 8 Oct 2014 16:54:16 +0000 (18:54 +0200)
src/main.c

index 8891001..83dfda6 100644 (file)
@@ -203,6 +203,7 @@ int main(int argc, char **argv)
        settings_init();
 
        builder = gtk_builder_new();
+       err = NULL;
        ret = gtk_builder_add_from_file
                (builder,
                 PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "ptask.glade",