[gnome-panel/gtk3] Remove unused xstuff_net_wm_supports()
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/gtk3] Remove unused xstuff_net_wm_supports()
- Date: Thu, 30 Dec 2010 10:48:20 +0000 (UTC)
commit b26b90f86163d70f2d28161cd73ce7f2d7a62bf6
Author: Milan Bouchet-Valat <nalimilan club fr>
Date: Wed Dec 29 22:45:24 2010 +0100
Remove unused xstuff_net_wm_supports()
This function isn't used anywhere and calls gdk_net_wm_supports(),
which has been removed in GDK 3. If needed, it could be changed to
use gdk_x11_screen_supports_net_wm_hint(), but for now better remove
it altogether.
https://bugzilla.gnome.org/show_bug.cgi?id=627455
gnome-panel/xstuff.c | 6 ------
gnome-panel/xstuff.h | 1 -
2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gnome-panel/xstuff.c b/gnome-panel/xstuff.c
index 4de06fd..b1d1111 100644
--- a/gnome-panel/xstuff.c
+++ b/gnome-panel/xstuff.c
@@ -182,12 +182,6 @@ xstuff_is_compliant_wm (void)
return TRUE;
}
-gboolean
-xstuff_net_wm_supports (const char *hint)
-{
- return gdk_net_wm_supports (gdk_atom_intern (hint, FALSE));
-}
-
/* This is such a broken stupid function. */
void
xstuff_set_pos_size (GdkWindow *window, int x, int y, int w, int h)
diff --git a/gnome-panel/xstuff.h b/gnome-panel/xstuff.h
index 0bd5f92..e441f18 100644
--- a/gnome-panel/xstuff.h
+++ b/gnome-panel/xstuff.h
@@ -7,7 +7,6 @@
void xstuff_delete_property (GdkWindow *window,
const char *name);
gboolean xstuff_is_compliant_wm (void);
-gboolean xstuff_net_wm_supports (const char *hint);
void xstuff_unsetup_desktop_area (void);
void xstuff_set_pos_size (GdkWindow *window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]