gimp r25205 - trunk/libgimpthumb
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25205 - trunk/libgimpthumb
- Date: Mon, 24 Mar 2008 21:20:46 +0000 (GMT)
Author: neo
Date: Mon Mar 24 21:20:45 2008
New Revision: 25205
URL: http://svn.gnome.org/viewvc/gimp?rev=25205&view=rev
Log:
2008-03-24 Sven Neumann <sven gimp org>
* libgimpthumb/gimpthumbnail.c: don't reset the mime-type info
when we can't load a thumbnail.
Modified:
trunk/libgimpthumb/gimpthumbnail.c
Modified: trunk/libgimpthumb/gimpthumbnail.c
==============================================================================
--- trunk/libgimpthumb/gimpthumbnail.c (original)
+++ trunk/libgimpthumb/gimpthumbnail.c Mon Mar 24 21:20:45 2008
@@ -751,7 +751,6 @@
gimp_thumbnail_reset_info (GimpThumbnail *thumbnail)
{
g_object_set (thumbnail,
- "image-mimetype", NULL,
"image-width", 0,
"image-height", 0,
"image-type", NULL,
@@ -770,6 +769,7 @@
gimp_thumbnail_reset_info (thumbnail);
+ g_free (thumbnail->image_mimetype);
thumbnail->image_mimetype =
g_strdup (gdk_pixbuf_get_option (pixbuf, TAG_THUMB_MIMETYPE));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]