summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-17 22:11:56 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-21 00:51:03 -0500
commitb1eaa502dfda1dd727e938ce710c3861f1cad8fe (patch)
tree3cb71e60ccf5c6fdae527c9c4ef2e9bee8f0cd15 /gdk/gdkapplaunchcontext.c
parentf1cf0eb3fc95c94d5594aa700cbcb12bc32ebc43 (diff)
downloadgtk+-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.c2
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);