diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-31 13:45:41 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-12-14 01:05:48 +0100 |
commit | d491e49fd6fd82814afbc1eb3e276152fc42937e (patch) | |
tree | 5a5d7f0b7f1d25381616523305415c355dac7695 /gtk/gtkbutton.c | |
parent | b03d3fb26859d10f2f9c8f0c0383e9636550e9a1 (diff) | |
download | gtk+-d491e49fd6fd82814afbc1eb3e276152fc42937e.tar.gz |
gtk: s/gdk_event_free/g_object_unref/
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index b89ac609d1..f08244a6bc 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -323,13 +323,13 @@ touch_release_in_button (GtkButton *button) if (gdk_event_get_event_type (event) != GDK_TOUCH_END) { - gdk_event_free (event); + g_object_unref (event); return FALSE; } gdk_event_get_coords (event, &x, &y); - gdk_event_free (event); + g_object_unref (event); if (gtk_widget_contains (GTK_WIDGET (button), x, y)) return TRUE; |