[gtk+/gdk-backend-deprecations: 7/9] Deprecate gdk_net_wm_supports
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend-deprecations: 7/9] Deprecate gdk_net_wm_supports
- Date: Fri, 17 Dec 2010 06:45:05 +0000 (UTC)
commit e68b99c074d0dd9136ba67b38b27f0b92dfa9235
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 17 01:14:35 2010 -0500
Deprecate gdk_net_wm_supports
gdk/gdk.symbols | 2 ++
gdk/x11/gdkevents-x11.c | 2 ++
gdk/x11/gdkx.h | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 73eb223..0fccc7e 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 2f096a1..3d56c96 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 da3c330..cdadd64 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]