Print out the name of the right object in the warning (#451314, Philip
2007-06-27 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c (apply_delayed_properties): Print out the name of the right object in the warning (#451314, Philip Withnall) svn path=/trunk/; revision=18270
This commit is contained in:

committed by
Johan Dahlin

parent
3825c65170
commit
099ec157ca
@ -1,5 +1,9 @@
|
||||
2007-06-27 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtkbuilder.c (apply_delayed_properties):
|
||||
Print out the name of the right object in the warning
|
||||
(#451314, Philip Withnall)
|
||||
|
||||
* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
|
||||
glade-interface doctype if found.
|
||||
(GtkBuilderConverter._convert):
|
||||
|
@ -550,7 +550,7 @@ apply_delayed_properties (const gchar *window_name,
|
||||
|
||||
obj = g_hash_table_lookup (builder->priv->objects, property->value);
|
||||
if (!obj)
|
||||
g_warning ("No object called: %s\n", property->object);
|
||||
g_warning ("No object called: %s\n", property->value);
|
||||
else
|
||||
g_object_set (object, property->name, obj, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user