Commit 9de1565a authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Only set using_themed_icon if we actually got an icon list from the theme.

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_realize_icon): Only set
	using_themed_icon if we actually got an icon list from the
	theme.  (#154472, Morten Welinder)
parent ce2ddb38
......@@ -3,6 +3,9 @@
* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
(gtk_window_realize_icon): Only set using_themed_icon if
we actually got an icon list from the theme. (#154472, Morten
Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
......
......@@ -3,6 +3,9 @@
* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
(gtk_window_realize_icon): Only set using_themed_icon if
we actually got an icon list from the theme. (#154472, Morten
Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
......
......@@ -3,6 +3,9 @@
* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
(gtk_window_realize_icon): Only set using_themed_icon if
we actually got an icon list from the theme. (#154472, Morten
Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
......
......@@ -3,6 +3,9 @@
* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
(gtk_window_realize_icon): Only set using_themed_icon if
we actually got an icon list from the theme. (#154472, Morten
Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
......
......@@ -2713,7 +2713,8 @@ gtk_window_realize_icon (GtkWindow *window)
if (icon_list == NULL && info->icon_name)
{
icon_list = icon_list_from_theme (widget, info->icon_name);
info->using_themed_icon = TRUE;
if (icon_list)
info->using_themed_icon = TRUE;
}
/* Inherit from transient parent */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment