gimp r28050 - in trunk: . libgimpthumb



Author: mitch
Date: Thu Feb 19 20:15:23 2009
New Revision: 28050
URL: http://svn.gnome.org/viewvc/gimp?rev=28050&view=rev

Log:
2009-02-19  Michael Natterer  <mitch gimp org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save): no need to
	g_strdup_printf() a simple string, use g_strdup() instead.



Modified:
   trunk/ChangeLog
   trunk/libgimpthumb/gimpthumbnail.c

Modified: trunk/libgimpthumb/gimpthumbnail.c
==============================================================================
--- trunk/libgimpthumb/gimpthumbnail.c	(original)
+++ trunk/libgimpthumb/gimpthumbnail.c	Thu Feb 19 20:15:23 2009
@@ -829,7 +829,7 @@
   if (thumbnail->image_mimetype)
     {
       keys[i]   = TAG_THUMB_MIMETYPE;
-      values[i] = g_strdup_printf (thumbnail->image_mimetype);
+      values[i] = g_strdup (thumbnail->image_mimetype);
       i++;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]