From a72404dd5ab1874ac3d601cd94e0fa7184873851 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 31 Mar 2017 18:58:16 +0200 Subject: 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. --- gtk/gtkcombobox.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk/gtkcombobox.c') 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"); -- cgit v1.2.1