diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-17 22:11:56 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:51:03 -0500 |
commit | b1eaa502dfda1dd727e938ce710c3861f1cad8fe (patch) | |
tree | 3cb71e60ccf5c6fdae527c9c4ef2e9bee8f0cd15 /gdk/gdkapplaunchcontext.c | |
parent | f1cf0eb3fc95c94d5594aa700cbcb12bc32ebc43 (diff) | |
download | gtk+-b1eaa502dfda1dd727e938ce710c3861f1cad8fe.tar.gz |
events: reorganize getters
Restructure the getters for event fields to
be more targeted at particular event types.
Update all callers, and replace all direct
event struct access with getters.
As a side-effect, this drops some unused getters.
Diffstat (limited to 'gdk/gdkapplaunchcontext.c')
-rw-r--r-- | gdk/gdkapplaunchcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c index c82bcf0034..97c72aad4f 100644 --- a/gdk/gdkapplaunchcontext.c +++ b/gdk/gdkapplaunchcontext.c @@ -43,7 +43,7 @@ * context = gdk_display_get_app_launch_context (display); * * gdk_app_launch_context_set_display (display); - * gdk_app_launch_context_set_timestamp (event->time); + * gdk_app_launch_context_set_timestamp (gdk_event_get_time (event)); * * if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error)) * g_warning ("Launching failed: %s\n", error->message); |