[gtk+] 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+] x11: remove icon_window property, it's not used anymore
- Date: Sun, 26 Sep 2010 13:21:23 +0000 (UTC)
commit 241f38992b2842875aaf6c3099c7078bab619067
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 4375a99..154830d 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);
@@ -1153,12 +1148,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]