projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7a677
)
combobox: Do not unconditionally stop events in event handler
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 24 Apr 2018 22:26:02 +0000
(
00:26
+0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 25 Apr 2018 00:16:05 +0000
(
02:16
+0200)
Prevents combobox menus from being closed.
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index 831c064539d798ad313fd5c5dd4eef2d6dd85210..25e325dc368d08fb9edf33e3531882da12a99a41 100644
(file)
--- 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
TRU
E;
+ return
GDK_EVENT_PROPAGAT
E;
}
/*