summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-06-15 18:04:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-06-15 18:25:04 -0400
commitde3cc277064937727e2f728113e0d63c64aa3bb8 (patch)
tree0c5da0a0d06130fd1eb412b8925bb4e21a998082 /gdk-pixbuf/gdk-pixbuf-io.c
parent362127c33c16b8626d4a4b8925bfb7b03bee0b6b (diff)
downloadgtk+-de3cc277064937727e2f728113e0d63c64aa3bb8.tar.gz
Cleanup some translation handling
Use g_*gettext functions in gdk-pixbuf instead direct gettext calls to benefit from the maybe-dont-translate functionality in GLib. Also, replace a hand-rolled version by g_dpgettext2 in gtkbuilderparser.c. Fixes bug 585791.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index abb920359e..b5036c8bc5 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -2459,7 +2459,7 @@ gdk_pixbuf_format_get_description (GdkPixbufFormat *format)
domain = format->domain;
else
domain = GETTEXT_PACKAGE;
- description = dgettext (domain, format->description);
+ description = g_dgettext (domain, format->description);
return g_strdup (description);
}