x11: remove icon_window property, it's not used anymore

This commit is contained in:
Benjamin Otte 2010-08-12 04:29:10 +02:00
parent c65bb2b3b4
commit 241f38992b
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -118,7 +118,6 @@ struct _GdkToplevelX11
GdkPixmap *icon_pixmap;
GdkPixmap *icon_mask;
GdkPixmap *icon_window;
GdkWindow *group_leader;
/* Time of most recent user interaction. */