summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-11-07 13:40:22 +0000
committerMatthias Clasen <mclasen@redhat.com>2014-11-08 00:20:15 -0500
commiteedbec2066588697f276d087fe8ec575d4e008eb (patch)
tree67ddf3494a35d898dfc79f1dd673408da418e792 /gdk/gdkdevice.h
parent713d3834f6617bce5916ecaf07962be678d52805 (diff)
downloadgtk+-eedbec2066588697f276d087fe8ec575d4e008eb.tar.gz
Make global GDK libgtk_only functions more private
The current way of exposing GDK API that should be considered internal to GTK+ is to append a 'libgtk_only' suffix to the function name; this is not really safe. GLib has been using a slightly different approach: a private table of function pointers, and a macro that allows accessing the desired symbol inside that vtable. We can copy the approach, and deprecate the 'libgtk_only' symbols in lieu of outright removal. https://bugzilla.gnome.org/show_bug.cgi?id=739781
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r--gdk/gdkdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 23b3551d09..7e1094e964 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -265,7 +265,7 @@ void gdk_device_warp (GdkDevice *device,
gint x,
gint y);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
gboolean gdk_device_grab_info_libgtk_only (GdkDisplay *display,
GdkDevice *device,
GdkWindow **grab_window,