[gtk] combobox: Do not unconditionally stop events in event handler
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] combobox: Do not unconditionally stop events in event handler
- Date: Wed, 25 Apr 2018 00:24:52 +0000 (UTC)
commit 0547c0999f63b7dfe23fe4f380c4aff1cda95320
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Apr 25 00:26:02 2018 +0200
combobox: Do not unconditionally stop events in event handler
Prevents combobox menus from being closed.
gtk/gtkcombobox.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 831c064539..25e325dc36 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1948,10 +1948,10 @@ gtk_combo_box_menu_event (GtkWidget *widget,
/* The menu hasn't managed the
* event, forward it to the combobox
*/
- gtk_bindings_activate_event (G_OBJECT (combo_box), (GdkEventKey *)event);
+ return gtk_bindings_activate_event (G_OBJECT (combo_box), (GdkEventKey *)event);
}
- return TRUE;
+ return GDK_EVENT_PROPAGATE;
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]