gtkbuilder-menus: translation-domain can be NULL

GtkBuilder defaults its translation-domain to NULL, which is a perfectly
fine value for d_gettext() and friends.

https://bugzilla.gnome.org/show_bug.cgi?id=669638
This commit is contained in:
Diego Escalante Urrelo 2012-02-08 03:32:07 -05:00
parent a0f6fc137b
commit 63865720b7

View File

@ -247,7 +247,7 @@ gtk_builder_menu_end_element (GMarkupParseContext *context,
state->string = NULL;
/* do the translation if necessary */
if (state->translatable && state->parser_data->domain)
if (state->translatable)
{
const gchar *translated;