summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcache.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-29 05:06:18 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-29 05:06:18 +0000
commit97ef14b22496d5a024341e4dc5735b26231d25b1 (patch)
tree1f4fc6b04fd4b1036d44978d6f4c977ebd64ec6f /gtk/gtkiconcache.c
parentacb9a097505b434e58830337af7e17a5847a2f51 (diff)
downloadgtk+-97ef14b22496d5a024341e4dc5735b26231d25b1.tar.gz
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)
Diffstat (limited to 'gtk/gtkiconcache.c')
-rw-r--r--gtk/gtkiconcache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index 2af6958de7..d6f685065b 100644
--- a/gtk/gtkiconcache.c
+++ b/gtk/gtkiconcache.c
@@ -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,