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:
committed by
Matthias Clasen
parent
bcf28d3444
commit
db0bc7fb3b
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user