Update, GtkBuilder::translation-domain is no longer set

2008-01-06  Johan Dahlin  <johan@gnome.org>

	* tests/buildertest.c (test_domain): 
	Update, GtkBuilder::translation-domain is no longer set


svn path=/trunk/; revision=19317
This commit is contained in:
Johan Dahlin 2008-01-06 15:20:40 +00:00 committed by Johan Dahlin
parent 0e09e8b3ff
commit 235a3aa18b
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2008-01-06 Johan Dahlin <johan@gnome.org>
* tests/buildertest.c (test_domain):
Update, GtkBuilder::translation-domain is no longer set
* gtk/gtkbuilderparser.c (parse_interface):
Allow domains to be overridden in <interface>'s if a translation-domain
is set in the builder.

View File

@ -343,8 +343,7 @@ test_domain (void)
builder = builder_new_from_string (buffer2, -1, NULL);
domain = gtk_builder_get_translation_domain (builder);
g_assert (domain);
g_assert (strcmp (domain, "domain") == 0);
g_assert (domain == NULL);
g_object_unref (builder);
builder = builder_new_from_string (buffer2, -1, "domain-1");