mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
x11: remove icon_window property, it's not used anymore
This commit is contained in:
parent
c65bb2b3b4
commit
241f38992b
@ -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;
|
||||
|
@ -118,7 +118,6 @@ struct _GdkToplevelX11
|
||||
|
||||
GdkPixmap *icon_pixmap;
|
||||
GdkPixmap *icon_mask;
|
||||
GdkPixmap *icon_window;
|
||||
GdkWindow *group_leader;
|
||||
|
||||
/* Time of most recent user interaction. */
|
||||
|
Loading…
Reference in New Issue
Block a user