[gtk+/rendering-cleanup: 25/142] x11: remove icon_window property, it's not used anymore
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 25/142] x11: remove icon_window property, it's not used anymore
- Date: Thu, 9 Sep 2010 16:06:24 +0000 (UTC)
commit 408da180988f40c1cd8d1c47959771ee00b89eb1
Author: Benjamin Otte <otte redhat com>
Date: Thu Aug 12 04:29:10 2010 +0200
x11: remove icon_window property, it's not used anymore
gdk/x11/gdkwindow-x11.c | 11 -----------
gdk/x11/gdkwindow-x11.h | 1 -
2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 6a474c1..86bc0de 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -1007,11 +1007,6 @@ static void
gdk_toplevel_x11_free_contents (GdkDisplay *display,
GdkToplevelX11 *toplevel)
{
- if (toplevel->icon_window)
- {
- g_object_unref (toplevel->icon_window);
- toplevel->icon_window = NULL;
- }
if (toplevel->icon_pixmap)
{
g_object_unref (toplevel->icon_pixmap);
@@ -1154,12 +1149,6 @@ update_wm_hints (GdkWindow *window,
wm_hints.initial_state = IconicState;
}
- if (toplevel->icon_window && !GDK_WINDOW_DESTROYED (toplevel->icon_window))
- {
- wm_hints.flags |= IconWindowHint;
- wm_hints.icon_window = GDK_WINDOW_XID (toplevel->icon_window);
- }
-
if (toplevel->icon_pixmap)
{
wm_hints.flags |= IconPixmapHint;
diff --git a/gdk/x11/gdkwindow-x11.h b/gdk/x11/gdkwindow-x11.h
index 762f104..162d8b8 100644
--- a/gdk/x11/gdkwindow-x11.h
+++ b/gdk/x11/gdkwindow-x11.h
@@ -118,7 +118,6 @@ struct _GdkToplevelX11
GdkPixmap *icon_pixmap;
GdkPixmap *icon_mask;
- GdkPixmap *icon_window;
GdkWindow *group_leader;
/* Time of most recent user interaction. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]