forked from AuroraMiddleware/gtk
emoji chooser: Don't leak gestures
We were not freeing these gestures as we should.
This commit is contained in:
parent
a8531605db
commit
1f8debbac9
@ -91,6 +91,10 @@ gtk_emoji_chooser_finalize (GObject *object)
|
|||||||
g_variant_unref (chooser->data);
|
g_variant_unref (chooser->data);
|
||||||
g_object_unref (chooser->settings);
|
g_object_unref (chooser->settings);
|
||||||
|
|
||||||
|
g_clear_object (&chooser->recent_press);
|
||||||
|
g_clear_object (&chooser->people_press);
|
||||||
|
g_clear_object (&chooser->body_press);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gtk_emoji_chooser_parent_class)->finalize (object);
|
G_OBJECT_CLASS (gtk_emoji_chooser_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user