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:
Johan Dahlin
2007-06-27 23:46:54 +00:00
committed by Johan Dahlin
parent 3825c65170
commit 099ec157ca
2 changed files with 5 additions and 1 deletions

View File

@ -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):

View File

@ -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);
}