[gtk+/wip/baedert/children: 363/365] spinbutton: unref child widgets



commit 29c38015c7e78c8067bbf0b6136a4aa228322ab2
Author: Timm Bäder <mail baedert org>
Date:   Wed Dec 7 14:27:37 2016 +0100

    spinbutton: unref child widgets

 gtk/gtkspinbutton.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index f5f7461..187ad73 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -901,6 +901,8 @@ gtk_spin_button_finalize (GObject *object)
   g_object_unref (priv->swipe_gesture);
   g_object_unref (priv->up_click_gesture);
   g_object_unref (priv->down_click_gesture);
+  g_object_unref (priv->up_button);
+  g_object_unref (priv->down_button);
 
   G_OBJECT_CLASS (gtk_spin_button_parent_class)->finalize (object);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]