[gtk+/wip/baedert/children: 35/36] spinbutton: unref child widgets
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/children: 35/36] spinbutton: unref child widgets
- Date: Wed, 7 Dec 2016 17:28:11 +0000 (UTC)
commit f83a4751e5d493160aec25c76040fceacf8d8c56
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 9fe3d91..4dd7f7f 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]