diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-15 15:07:24 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:47:53 -0500 |
commit | c343031a0eb6e3980b6a35e398296b6d29684817 (patch) | |
tree | 96c0c47e795d227d79a9ad1fd96bebe511a81d2f /gtk/gtkcombobox.c | |
parent | 835556c2704247a01855027ce5706dc30ffabe8a (diff) | |
download | gtk+-c343031a0eb6e3980b6a35e398296b6d29684817.tar.gz |
Stop using g_object_ref/unref on events
Use gdk_event_ref/unref instead of g_object_ref/unref.
Events will stop being object soon.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index e500a765f6..ac529c718e 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -1800,7 +1800,7 @@ gtk_combo_box_menu_key (GtkEventControllerKey *key, gtk_event_controller_key_forward (key, GTK_WIDGET (combo_box)); } - g_object_unref (event); + gdk_event_unref (event); return TRUE; } |