diff options
author | Michael Natterer <mitch@lanedo.com> | 2011-09-27 15:37:28 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2011-09-27 15:45:18 +0200 |
commit | 2d3db3421fd8067dd9c59a0727da239936187cc5 (patch) | |
tree | c9668bfba51b4df9dd76b478cc3c1b10e51973cd /gdk/gdkevents.h | |
parent | 27cbbc4a7d8e8f010b5b83f7563b6cc36926c8cb (diff) | |
download | gtk+-2d3db3421fd8067dd9c59a0727da239936187cc5.tar.gz |
Bug 659406 - Abstract what triggers a context menu
Add gdk_event_triggers_context_menu(), using the new modifier
abstraction API. Remove _gtk_button_event_triggers_context_menu()
and port all callers.
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r-- | gdk/gdkevents.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 8bf7d565d6..24a3b8ea4b 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -1076,7 +1076,8 @@ GdkDevice* gdk_event_get_device (const GdkEvent *event); void gdk_event_set_source_device (GdkEvent *event, GdkDevice *device); GdkDevice* gdk_event_get_source_device (const GdkEvent *event); -void gdk_event_request_motions (const GdkEventMotion *event); +void gdk_event_request_motions (const GdkEventMotion *event); +gboolean gdk_event_triggers_context_menu (const GdkEvent *event); gboolean gdk_events_get_distance (GdkEvent *event1, GdkEvent *event2, |