summaryrefslogtreecommitdiff
path: root/gtk/gtkstock.c
diff options
context:
space:
mode:
author14:27:34 Tim Janik <timj@imendio.com>2008-05-20 13:03:41 +0000
committerTim Janik <timj@src.gnome.org>2008-05-20 13:03:41 +0000
commit4d1892710f426c072dd3c9daf8ae522c42e4fe1e (patch)
treebf9c55f75f7ef9603fb194959941a2f7467a7689 /gtk/gtkstock.c
parente58fcc1eb7da948aa854926b3a540aa49612a5da (diff)
downloadgtk+-4d1892710f426c072dd3c9daf8ae522c42e4fe1e.tar.gz
Bug 503071 - Application direction changes to right to left even if theres
2008-05-20 14:27:34 Tim Janik <timj@imendio.com> * reverted recent unapproved changes by Yair Hershkovitz, regarding: Bug 503071 - Application direction changes to right to left even if theres no translation. svn path=/trunk/; revision=20116
Diffstat (limited to 'gtk/gtkstock.c')
-rw-r--r--gtk/gtkstock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstock.c b/gtk/gtkstock.c
index c649be6277..c50cf9a236 100644
--- a/gtk/gtkstock.c
+++ b/gtk/gtkstock.c
@@ -176,7 +176,7 @@ gtk_stock_lookup (const gchar *stock_id,
if (translate != NULL && translate->func != NULL)
item->label = (* translate->func) (item->label, translate->data);
else
- item->label = g_dgettext (item->translation_domain, item->label);
+ item->label = dgettext (item->translation_domain, item->label);
}
}
@@ -457,7 +457,7 @@ sgettext_swapped (const gchar *msgid,
{
gchar *domainname = data;
- return (gchar *)g_strip_context (msgid, g_dgettext (domainname, msgid));
+ return (gchar *)g_strip_context (msgid, dgettext (domainname, msgid));
}