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.
parent a0f6fc13
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment