mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Increment the reference count of the style when copying the cached icon.
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkiconfactory.c (copy_cache): Increment the reference count of the style when copying the cached icon. (#135890, Crispin Flowerday)
This commit is contained in:
parent
f855ea2ded
commit
897f3aac78
@ -1,3 +1,9 @@
|
||||
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkiconfactory.c (copy_cache): Increment the reference
|
||||
count of the style when copying the cached icon. (#135890, Crispin
|
||||
Flowerday)
|
||||
|
||||
Thu Mar 4 21:45:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c: In list mode, set the background color
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkiconfactory.c (copy_cache): Increment the reference
|
||||
count of the style when copying the cached icon. (#135890, Crispin
|
||||
Flowerday)
|
||||
|
||||
Thu Mar 4 21:45:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c: In list mode, set the background color
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkiconfactory.c (copy_cache): Increment the reference
|
||||
count of the style when copying the cached icon. (#135890, Crispin
|
||||
Flowerday)
|
||||
|
||||
Thu Mar 4 21:45:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c: In list mode, set the background color
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkiconfactory.c (copy_cache): Increment the reference
|
||||
count of the style when copying the cached icon. (#135890, Crispin
|
||||
Flowerday)
|
||||
|
||||
Thu Mar 4 21:45:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c: In list mode, set the background color
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Mar 4 21:53:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkiconfactory.c (copy_cache): Increment the reference
|
||||
count of the style when copying the cached icon. (#135890, Crispin
|
||||
Flowerday)
|
||||
|
||||
Thu Mar 4 21:45:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c: In list mode, set the background color
|
||||
|
@ -2702,7 +2702,10 @@ copy_cache (GtkIconSet *icon_set,
|
||||
*icon_copy = *icon;
|
||||
|
||||
if (icon_copy->style)
|
||||
attach_to_style (copy_recipient, icon_copy->style);
|
||||
{
|
||||
attach_to_style (copy_recipient, icon_copy->style);
|
||||
g_object_ref (icon_copy->style);
|
||||
}
|
||||
|
||||
g_object_ref (icon_copy->pixbuf);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user