gtk+ r19317 - in trunk: . tests



Author: johan
Date: Sun Jan  6 15:20:40 2008
New Revision: 19317
URL: http://svn.gnome.org/viewvc/gtk+?rev=19317&view=rev

Log:
2008-01-06  Johan Dahlin  <johan gnome org>

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



Modified:
   trunk/ChangeLog
   trunk/tests/buildertest.c

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Sun Jan  6 15:20:40 2008
@@ -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.

Modified: trunk/tests/buildertest.c
==============================================================================
--- trunk/tests/buildertest.c	(original)
+++ trunk/tests/buildertest.c	Sun Jan  6 15:20:40 2008
@@ -343,8 +343,7 @@
   
   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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]