summaryrefslogtreecommitdiff
path: root/gtk/gtkmagnifier.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-03-31 18:58:16 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-05-25 16:25:58 +0200
commita72404dd5ab1874ac3d601cd94e0fa7184873851 (patch)
treeb28cd7bb3937ad7f327e7c184ffa65b259179b8d /gtk/gtkmagnifier.c
parentef4f0e53364b51efea1d71f7770e8d52631c3cb0 (diff)
downloadgtk+-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/gtkmagnifier.c')
-rw-r--r--gtk/gtkmagnifier.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkmagnifier.c b/gtk/gtkmagnifier.c
index f34f1bbdfa..5b3560cd04 100644
--- a/gtk/gtkmagnifier.c
+++ b/gtk/gtkmagnifier.c
@@ -305,9 +305,6 @@ _gtk_magnifier_init (GtkMagnifier *magnifier)
priv = _gtk_magnifier_get_instance_private (magnifier);
- gtk_widget_set_events (widget,
- gtk_widget_get_events (widget));
-
gtk_widget_set_has_window (widget, FALSE);
priv->magnification = 1;
priv->resize = FALSE;