summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@src.gnome.org>2003-12-31 16:02:22 +0000
committerChristian Neumair <cneumair@src.gnome.org>2003-12-31 16:02:22 +0000
commit0e08ebc7d4c37b454546bccbbc4d2dd08ca784c8 (patch)
tree692cea816723b005996bdb653e128e023a907a78 /gdk-pixbuf
parent88ca97c8af940666c198851d4b2d7cd809b87880 (diff)
downloadgtk+-0e08ebc7d4c37b454546bccbbc4d2dd08ca784c8.tar.gz
Use ngettext for plurals (#123847).
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/gdk-pixdata.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c
index 445e7adf7f..cc17de48f1 100644
--- a/gdk-pixbuf/gdk-pixdata.c
+++ b/gdk-pixbuf/gdk-pixdata.c
@@ -399,7 +399,9 @@ gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata,
{
g_set_error (error, GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("failed to allocate image buffer of %u bytes"),
+ ngettext("failed to allocate image buffer of %u byte",
+ "failed to allocate image buffer of %u bytes",
+ pixdata->rowstride * pixdata->height),
pixdata->rowstride * pixdata->height);
return NULL;
}