summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.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/gdkdisplay.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/gdkdisplay.h')
-rw-r--r--gdk/gdkdisplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index e82c533348..a76af35bed 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -123,7 +123,7 @@ void gdk_display_warp_pointer (GdkDisplay *disp
gint y);
#endif /* GDK_MULTIDEVICE_SAFE */
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
GdkDisplay *gdk_display_open_default_libgtk_only (void);
GDK_AVAILABLE_IN_ALL