5
g_set_application_name(_("Alarm Clock"));
7
+ GError *builder_err = NULL;
8
gxml = gtk_builder_new ();
9
- if (!gtk_builder_add_from_file (gxml, GTK_BUILDER_FILE, NULL))
10
+ if (!gtk_builder_add_from_file (gxml, GTK_BUILDER_FILE, &builder_err))
12
- g_print ("Cannot load GTK Builder file.\n");
13
+ g_print ("Cannot load GTK Builder file: %s\n", builder_err->message);