[gtk+/gtk-3-22] scrolledwindow: fix leak of pan_gesture



commit 45528cf5b5831f7863080a0d352158d94bc75061
Author: Alan Jenkins <alan christopher jenkins gmail com>
Date:   Thu Oct 13 09:20:57 2016 +0100

    scrolledwindow: fix leak of pan_gesture
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772859

 gtk/gtkscrolledwindow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 27d5e7b..3392475 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -2823,6 +2823,7 @@ gtk_scrolled_window_finalize (GObject *object)
   g_clear_object (&priv->drag_gesture);
   g_clear_object (&priv->swipe_gesture);
   g_clear_object (&priv->long_press_gesture);
+  g_clear_object (&priv->pan_gesture);
   g_clear_object (&priv->gadget);
   g_clear_pointer (&priv->scroll_history, (GDestroyNotify) g_array_unref);
 


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