summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextsimple.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-10-31 13:45:41 +0100
committerCarlos Garnacho <carlosg@gnome.org>2017-12-14 01:05:48 +0100
commitd491e49fd6fd82814afbc1eb3e276152fc42937e (patch)
tree5a5d7f0b7f1d25381616523305415c355dac7695 /gtk/gtkimcontextsimple.c
parentb03d3fb26859d10f2f9c8f0c0383e9636550e9a1 (diff)
downloadgtk+-d491e49fd6fd82814afbc1eb3e276152fc42937e.tar.gz
gtk: s/gdk_event_free/g_object_unref/
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r--gtk/gtkimcontextsimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 0c2c41681b..46046009d2 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -1057,7 +1057,7 @@ no_sequence_matches (GtkIMContextSimple *context_simple,
gdk_event_set_keyval (tmp_event, priv->compose_buffer[len + i]);
gtk_im_context_filter_keypress (context, (GdkEventKey *)tmp_event);
- gdk_event_free (tmp_event);
+ g_object_unref (tmp_event);
}
return gtk_im_context_filter_keypress (context, event);