summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-17 01:14:35 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 09:54:14 -0500
commit6250c1dbe1004a04cbcbd6f8edf9efe4f3a7fc3a (patch)
treec853d7a1cc2759e2ce158198026034cf5365ccce /gdk
parentdd1de27061283416d88d3b4383c2de788fbd3883 (diff)
downloadgtk+-6250c1dbe1004a04cbcbd6f8edf9efe4f3a7fc3a.tar.gz
Deprecate gdk_net_wm_supports
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdk.symbols2
-rw-r--r--gdk/x11/gdkevents-x11.c2
-rw-r--r--gdk/x11/gdkx.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 73eb22383a..0fccc7ea3c 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -956,9 +956,11 @@ gdk_visual_get_type G_GNUC_CONST
#if IN_HEADER(__GDK_X_H__)
#if IN_FILE(__GDK_EVENTS_X11_C__)
+#ifndef GDK_DISABLE_DEPRECATED
gdk_net_wm_supports
#endif
#endif
+#endif
#if IN_HEADER(__GDK_PANGO_H__)
#if IN_FILE(__GDK_PANGO_C__)
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index 2f096a1adf..3d56c9650e 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -2880,6 +2880,8 @@ gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
* gdk_x11_screen_supports_net_wm_hint() for complete details.
*
* Return value: %TRUE if the window manager supports @property
+ *
+ * Deprecated:2.24: Use gdk_x11_screen_supports_net_wm_hint() instead
**/
gboolean
gdk_net_wm_supports (GdkAtom property)
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
index da3c33083e..cdadd6416c 100644
--- a/gdk/x11/gdkx.h
+++ b/gdk/x11/gdkx.h
@@ -166,7 +166,9 @@ XID gdk_x11_screen_get_monitor_output (GdkScreen *screen,
#ifndef GDK_MULTIHEAD_SAFE
gpointer gdk_xid_table_lookup (XID xid);
+#ifndef GDK_DISABLE_DEPRECATED
gboolean gdk_net_wm_supports (GdkAtom property);
+#endif
void gdk_x11_grab_server (void);
void gdk_x11_ungrab_server (void);
#endif