[gnome-photos/wip/rishi/misc-fixes: 2/20] preview-view: Unref the PreviewNavButtons during destruction



commit b3bb5c89a0ba88de97c2a20110b38f2a6b2c3bf9
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Dec 14 18:34:37 2015 +0100

    preview-view: Unref the PreviewNavButtons during destruction

 src/photos-preview-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index f950418..9e81c4d 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -511,6 +511,7 @@ photos_preview_view_dispose (GObject *object)
   g_clear_object (&priv->node);
   g_clear_object (&priv->item_mngr);
   g_clear_object (&priv->mode_cntrlr);
+  g_clear_object (&priv->nav_buttons);
 
   G_OBJECT_CLASS (photos_preview_view_parent_class)->dispose (object);
 }


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