[gtk+] gdkevent: make _gdk_event_get_pointer_emulated() private



commit e405c27eee99f9dbfd5ebf83c93dacee18e568d5
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Tue May 3 16:15:07 2016 +0200

    gdkevent: make _gdk_event_get_pointer_emulated() private
    
    And not just internal to gdk, so we can use it in gtk as well, to
    differentiate emulated scroll events from others.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765939

 gdk/gdkinternals.h |    1 -
 gdk/gdkprivate.h   |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 67c43a8..2a003e0 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -396,7 +396,6 @@ void _gdk_event_filter_unref        (GdkWindow      *window,
 
 void     _gdk_event_set_pointer_emulated (GdkEvent *event,
                                           gboolean  emulated);
-gboolean _gdk_event_get_pointer_emulated (GdkEvent *event);
 
 void     _gdk_event_set_scancode         (GdkEvent *event,
                                           guint16 scancode);
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
index b0121d2..8c0b425 100644
--- a/gdk/gdkprivate.h
+++ b/gdk/gdkprivate.h
@@ -38,6 +38,8 @@ GDK_AVAILABLE_IN_ALL
 void gdk_synthesize_window_state (GdkWindow     *window,
                                   GdkWindowState unset_flags,
                                   GdkWindowState set_flags);
+GDK_AVAILABLE_IN_3_22
+gboolean _gdk_event_get_pointer_emulated (GdkEvent *event);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]