From cda6eb8025987e0e3a776aa178ed5253515581ca Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 8 Oct 2014 18:54:16 +0200 Subject: [PATCH] newer gtk release are checking that the error pointer is NULL, avoid crash. --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 8891001..83dfda6 100644 --- a/src/main.c +++ b/src/main.c @@ -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", -- 2.7.4