diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-26 14:02:30 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-27 17:47:12 +0200 |
commit | d05a9f9a7b2371b13bf9ec766482f1bb15a3853e (patch) | |
tree | ccd7f5092eeeba5af262d490fcbe5a3682906c09 /gtk/gtkwidgetprivate.h | |
parent | ad6606e8af05875e60260903c071b6cc7e135194 (diff) | |
download | gtk+-d05a9f9a7b2371b13bf9ec766482f1bb15a3853e.tar.gz |
gesture: Replace gtk_gesture_attach/detach with event controller API
Event controllers now auto-attach, and the GtkCapturePhase only determines
when are events dispatched, but all controllers are managed by the widget wrt
grabs.
All callers have been updated.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index ebb06099e7..9b8fae5c08 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -156,8 +156,7 @@ GActionGroup * _gtk_widget_get_action_group (GtkWidget *widget const gchar *prefix); void _gtk_widget_add_controller (GtkWidget *widget, - GtkEventController *controller, - GtkPropagationPhase phase); + GtkEventController *controller); void _gtk_widget_remove_controller (GtkWidget *widget, GtkEventController *controller); GList * _gtk_widget_list_controllers (GtkWidget *widget, |