[gtk+/gdk-backend] Remove gdk_net_wm_supports
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend] Remove gdk_net_wm_supports
- Date: Thu, 16 Dec 2010 04:20:09 +0000 (UTC)
commit 629b8cd6286c270dd282724e059fb6211f7464af
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 15 23:18:38 2010 -0500
Remove gdk_net_wm_supports
This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.
docs/reference/gdk/gdk3-sections.txt | 1 -
gdk/gdk.symbols | 1 -
gdk/x11/gdkscreen-x11.c | 17 -----------------
gdk/x11/gdkx.h | 1 -
4 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index d43a824..9f98416 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -962,7 +962,6 @@ gdk_x11_window_foreign_new_for_display
gdk_x11_window_lookup_for_display
gdk_x11_lookup_xdisplay
gdk_x11_get_server_time
-gdk_net_wm_supports
gdk_x11_screen_supports_net_wm_hint
gdk_x11_screen_get_window_manager_name
gdk_x11_screen_get_monitor_output
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index dfa45b9..3f22959 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -237,7 +237,6 @@ gdk_keyval_to_unicode G_GNUC_CONST
gdk_keyval_to_upper G_GNUC_CONST
gdk_list_visuals
gdk_modifier_type_get_type G_GNUC_CONST
-gdk_net_wm_supports
gdk_notify_startup_complete
gdk_notify_startup_complete_with_id
gdk_notify_type_get_type G_GNUC_CONST
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index e1ae43e..0c2aff0 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -1449,23 +1449,6 @@ gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
return FALSE;
}
-/**
- * gdk_net_wm_supports:
- * @property: a property atom.
- *
- * This function is specific to the X11 backend of GDK, and indicates
- * whether the window manager for the default screen supports a certain
- * hint from the Extended Window Manager Hints Specification. See
- * gdk_x11_screen_supports_net_wm_hint() for complete details.
- *
- * Return value: %TRUE if the window manager supports @property
- **/
-gboolean
-gdk_net_wm_supports (GdkAtom property)
-{
- return gdk_x11_screen_supports_net_wm_hint (gdk_screen_get_default (), property);
-}
-
static void
refcounted_grab_server (Display *xdisplay)
{
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
index 7c8c307..1801b63 100644
--- a/gdk/x11/gdkx.h
+++ b/gdk/x11/gdkx.h
@@ -188,7 +188,6 @@ XID gdk_x11_screen_get_monitor_output (GdkScreen *screen,
gint monitor_num);
#ifndef GDK_MULTIHEAD_SAFE
-gboolean gdk_net_wm_supports (GdkAtom property);
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]