summaryrefslogtreecommitdiff
path: root/gdk/gdkeventsprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-12-17 16:32:31 +0100
committerTimm Bäder <mail@baedert.org>2020-12-21 10:26:02 +0100
commite6f6d1e478088e1dc51064f7d35e8525f0fef485 (patch)
tree89fc4a476940f290ef49a09710616dd6079b330f /gdk/gdkeventsprivate.h
parent933d241bbae6785c597798a2b804e57bf20301da (diff)
downloadgtk+-e6f6d1e478088e1dc51064f7d35e8525f0fef485.tar.gz
main: Add & use gdk_event_dup_axes()
The way this code is written trips up scan-build. Add gdk_event_dup_axes() and use it in gtkmain.c.
Diffstat (limited to 'gdk/gdkeventsprivate.h')
-rw-r--r--gdk/gdkeventsprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h
index cfc7ab09ab..aca69d551f 100644
--- a/gdk/gdkeventsprivate.h
+++ b/gdk/gdkeventsprivate.h
@@ -603,6 +603,8 @@ void _gdk_event_queue_handle_motion_compression (GdkDisplay *display);
void gdk_event_queue_handle_scroll_compression (GdkDisplay *display);
void _gdk_event_queue_flush (GdkDisplay *display);
+double * gdk_event_dup_axes (GdkEvent *event);
+
G_END_DECLS