[gtk+/wip/baedert/gtkimageview: 86/169] demo: Unref GtkBuilder instance
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 86/169] demo: Unref GtkBuilder instance
- Date: Wed, 25 May 2016 16:13:46 +0000 (UTC)
commit 6ea4c4f5846ba5fa758a67e3d1013ecba6735c0b
Author: Timm Bäder <mail baedert org>
Date: Thu Jan 21 21:30:22 2016 +0100
demo: Unref GtkBuilder instance
demos/gtk-demo/image_view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/image_view.c b/demos/gtk-demo/image_view.c
index c339a66..425c307 100644
--- a/demos/gtk-demo/image_view.c
+++ b/demos/gtk-demo/image_view.c
@@ -247,5 +247,8 @@ do_image_view (GtkWidget *do_widget)
gtk_window_resize (GTK_WINDOW (window), 800, 600);
gtk_widget_show_all (window);
+
+ g_object_unref (builder);
+
return window;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]