scrolledwindow: fix leak of pan_gesture

https://bugzilla.gnome.org/show_bug.cgi?id=772859
This commit is contained in:
Alan Jenkins 2016-10-13 09:20:57 +01:00 committed by Matthias Clasen
parent 982c4a70b6
commit 38667b8dd0

View File

@ -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);