Don't call g_free() on a pixbuf. (#141961, Crispin Flowerday)

Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkiconfactory.c (icon_source_clear): Don't
	call g_free() on a pixbuf.  (#141961, Crispin Flowerday)
This commit is contained in:
Matthias Clasen
2004-05-06 02:41:36 +00:00
committed by Matthias Clasen
parent bcf28d3444
commit db0bc7fb3b
5 changed files with 22 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
Wed May 5 22:23:59 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.c (icon_source_clear): Don't
call g_free() on a pixbuf. (#141961, Crispin Flowerday)
2004-05-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (print_node): Make the output

View File

@@ -1,3 +1,8 @@
Wed May 5 22:23:59 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.c (icon_source_clear): Don't
call g_free() on a pixbuf. (#141961, Crispin Flowerday)
2004-05-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (print_node): Make the output

View File

@@ -1,3 +1,8 @@
Wed May 5 22:23:59 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.c (icon_source_clear): Don't
call g_free() on a pixbuf. (#141961, Crispin Flowerday)
2004-05-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (print_node): Make the output

View File

@@ -1,3 +1,8 @@
Wed May 5 22:23:59 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.c (icon_source_clear): Don't
call g_free() on a pixbuf. (#141961, Crispin Flowerday)
2004-05-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (print_node): Make the output

View File

@@ -2091,7 +2091,8 @@ icon_source_clear (GtkIconSource *source)
case GTK_ICON_SOURCE_FILENAME:
g_free (source->source.filename);
source->source.filename = NULL;
g_free (source->filename_pixbuf);
if (source->filename_pixbuf)
g_object_unref (source->filename_pixbuf);
source->filename_pixbuf = NULL;
break;
case GTK_ICON_SOURCE_PIXBUF: