summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-01-02 20:11:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-01-02 20:11:50 -0500
commit85b41aaffce7996a9bf3e635fdd25e280c1315ee (patch)
treee91071f772dafe321f7f7ee99c704adbbdb120ad /gdk-pixbuf
parent94ba3d86f3e0b681c93830ab68f5b031c784184d (diff)
downloadgdk-pixbuf-85b41aaffce7996a9bf3e635fdd25e280c1315ee.tar.gz
Don't use string concatentation in translated strings
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT here anyway.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/io-png.c4
-rw-r--r--gdk-pixbuf/io-tiff.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index da9c61984..c0374ca96 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -883,8 +883,8 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("Color profile has invalid length '%" G_GSIZE_FORMAT "'."),
- icc_profile_size);
+ _("Color profile has invalid length %d."),
+ (gint)icc_profile_size);
success = FALSE;
goto cleanup;
}
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c
index 221bcac62..7128a5c08 100644
--- a/gdk-pixbuf/io-tiff.c
+++ b/gdk-pixbuf/io-tiff.c
@@ -735,8 +735,8 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("Color profile has invalid length '%d'."),
- icc_profile_size);
+ _("Color profile has invalid length %d."),
+ (gint)icc_profile_size);
retval = FALSE;
goto cleanup;
}