mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Remove an accidentally leftover duplicate pixbuf creation. (#314700,
2005-08-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an accidentally leftover duplicate pixbuf creation. (#314700, Kjartan Maraas)
This commit is contained in:
parent
acb9a09750
commit
97ef14b224
@ -1,5 +1,9 @@
|
||||
2005-08-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
|
||||
accidentally leftover duplicate pixbuf creation. (#314700,
|
||||
Kjartan Maraas)
|
||||
|
||||
* gtk/gtksettings.c (settings_update_cursor_theme): Don't
|
||||
leak the cursor theme name. (#314693, Kjartan Maraas)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-08-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
|
||||
accidentally leftover duplicate pixbuf creation. (#314700,
|
||||
Kjartan Maraas)
|
||||
|
||||
* gtk/gtksettings.c (settings_update_cursor_theme): Don't
|
||||
leak the cursor theme name. (#314693, Kjartan Maraas)
|
||||
|
||||
|
@ -378,8 +378,6 @@ _gtk_icon_cache_get_icon (GtkIconCache *cache,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pixbuf = gdk_pixbuf_from_pixdata (&pixdata, FALSE, &error);
|
||||
|
||||
pixbuf = gdk_pixbuf_new_from_data (pixdata.pixel_data, GDK_COLORSPACE_RGB,
|
||||
(pixdata.pixdata_type & GDK_PIXDATA_COLOR_TYPE_MASK) == GDK_PIXDATA_COLOR_TYPE_RGBA,
|
||||
8, pixdata.width, pixdata.height, pixdata.rowstride,
|
||||
|
Loading…
Reference in New Issue
Block a user