[gtk+] Fix compilation warning: use the correct conversion specifier



commit 479c7b047648119f6fb0cf754fdbd3b08acc211e
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Dec 20 21:13:26 2009 +0100

    Fix compilation warning: use the correct conversion specifier
    
    Use G_GSIZE_FORMAT instead of %d

 gdk-pixbuf/io-png.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index 8b90865..da9c619 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -883,7 +883,7 @@ static gboolean real_save_png (GdkPixbuf        *pixbuf,
                                        g_set_error (error,
                                                     GDK_PIXBUF_ERROR,
                                                     GDK_PIXBUF_ERROR_BAD_OPTION,
-                                                    _("Color profile has invalid length '%d'."),
+                                                    _("Color profile has invalid length '%" G_GSIZE_FORMAT "'."),
                                                     icc_profile_size);
                                        success = FALSE;
                                        goto cleanup;



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