diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-03-31 18:58:16 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-05-25 16:25:58 +0200 |
commit | a72404dd5ab1874ac3d601cd94e0fa7184873851 (patch) | |
tree | b28cd7bb3937ad7f327e7c184ffa65b259179b8d /gtk/gtkcombobox.c | |
parent | ef4f0e53364b51efea1d71f7770e8d52631c3cb0 (diff) | |
download | gtk+-a72404dd5ab1874ac3d601cd94e0fa7184873851.tar.gz |
gtk: Mass delete all GtkWidget event mask API
We now rely on toplevels receiving and forwarding all the events
the windowing should be able to handle. Event masks are no longer a
way to determine whether an event is deliverable ot a widget.
Events will always be delivered in the three captured/target/bubbled
phases, widgets can now just attach GtkEventControllers and let those
handle the events.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index c6f364c00f..e07a183e90 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -1046,8 +1046,6 @@ gtk_combo_box_init (GtkComboBox *combo_box) g_type_ensure (GTK_TYPE_TREE_MENU); gtk_widget_init_template (GTK_WIDGET (combo_box)); - gtk_widget_add_events (priv->button, GDK_SCROLL_MASK); - context = gtk_widget_get_style_context (priv->button); gtk_style_context_remove_class (context, "toggle"); gtk_style_context_add_class (context, "combo"); |