[gpointing-device-settings] unref GtkBuilder object before gtk_main().
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gpointing-device-settings] unref GtkBuilder object before gtk_main().
- Date: Fri, 5 Mar 2010 10:02:15 +0000 (UTC)
commit ad3645cfeabc4a9a9da2047a7ab937d23427c390
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date: Fri Mar 5 19:01:08 2010 +0900
unref GtkBuilder object before gtk_main().
src/gpointing-device-settings.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gpointing-device-settings.c b/src/gpointing-device-settings.c
index c3f3c3f..70e4048 100644
--- a/src/gpointing-device-settings.c
+++ b/src/gpointing-device-settings.c
@@ -255,10 +255,11 @@ main (int argc, char *argv[])
G_CALLBACK(cb_selection_changed), notebook);
append_uis(GTK_ICON_VIEW(icon_view), GTK_NOTEBOOK(notebook));
+ g_object_unref(builder);
+
gtk_widget_show_all(dialog);
gtk_main();
- g_object_unref(builder);
gpds_quit();
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]