summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixdata.c
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
commitee88c6d3248dadea4c29ae47575bc7c75099e4d6 (patch)
tree5c5fa5c41772492361195119a1e903f930812d7b /gdk-pixbuf/gdk-pixdata.c
parentc07711fc6f728fa04547ba0433bf4d90e81d2884 (diff)
downloadgdk-pixbuf-ee88c6d3248dadea4c29ae47575bc7c75099e4d6.tar.gz
Use ngettext for plurals (#123847).
Diffstat (limited to 'gdk-pixbuf/gdk-pixdata.c')
-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 445e7adf7..cc17de48f 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;
}