Set info->icon_list to NULL after freeing it. (#165800, Damon Chaplin)

2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
	to NULL after freeing it.  (#165800, Damon Chaplin)
This commit is contained in:
Matthias Clasen 2005-02-02 03:55:29 +00:00 committed by Matthias Clasen
parent 92895a417a
commit adf6e301fa
4 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-02-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
to NULL after freeing it. (#165800, Damon Chaplin)
2005-02-01 Michael Natterer <mitch@gimp.org>
* configure.in: depend on stable pango-1.8, not unstable 1.7

View File

@ -1,3 +1,8 @@
2005-02-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
to NULL after freeing it. (#165800, Damon Chaplin)
2005-02-01 Michael Natterer <mitch@gimp.org>
* configure.in: depend on stable pango-1.8, not unstable 1.7

View File

@ -1,3 +1,8 @@
2005-02-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
to NULL after freeing it. (#165800, Damon Chaplin)
2005-02-01 Michael Natterer <mitch@gimp.org>
* configure.in: depend on stable pango-1.8, not unstable 1.7

View File

@ -2890,6 +2890,7 @@ gtk_window_set_icon_name (GtkWindow *window,
g_list_foreach (info->icon_list, (GFunc) g_object_unref, NULL);
g_list_free (info->icon_list);
info->icon_list = NULL;
update_themed_icon (NULL, window);