From: Jean-Philippe Orsini Date: Wed, 8 Oct 2014 16:54:16 +0000 (+0200) Subject: newer gtk release are checking that the error pointer is NULL, avoid crash. X-Git-Tag: v0.0.9~16 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=cda6eb8025987e0e3a776aa178ed5253515581ca newer gtk release are checking that the error pointer is NULL, avoid crash. --- 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",