diff options
author | Johan Dahlin <johan@gnome.org> | 2008-01-06 15:06:55 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-01-06 15:06:55 +0000 |
commit | bf4f21118acd6cbd2e51b60424f83ee248011bee (patch) | |
tree | 94e6df37aa1c9e1b17a93da9c9596f18b9830f71 /gtk/gtkbuilder.c | |
parent | 8568de818a61fb59b888facd44b61dbccc842328 (diff) | |
download | gtk+-bf4f21118acd6cbd2e51b60424f83ee248011bee.tar.gz |
Avoid adding unnecessary trailing newlines to g_warning calls.
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
to g_warning calls.
svn path=/trunk/; revision=19315
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index bc9551fed5..0d1d05b892 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -275,7 +275,7 @@ gtk_builder_get_parameters (GtkBuilder *builder, prop->name); if (!pspec) { - g_warning ("Unknown property: %s.%s\n", + g_warning ("Unknown property: %s.%s", g_type_name (object_type), prop->name); continue; } @@ -508,7 +508,7 @@ _gtk_builder_add (GtkBuilder *builder, if (!child_info->parent) { - g_warning ("%s: Not adding, No parent\n", + g_warning ("%s: Not adding, No parent", gtk_buildable_get_name (GTK_BUILDABLE (object))); return; } @@ -570,7 +570,7 @@ gtk_builder_apply_delayed_properties (GtkBuilder *builder) pspec = g_object_class_find_property (G_OBJECT_CLASS (oclass), property->name); if (!pspec) - g_warning ("Unknown property: %s.%s\n", g_type_name (object_type), + g_warning ("Unknown property: %s.%s", g_type_name (object_type), property->name); else { @@ -578,7 +578,7 @@ gtk_builder_apply_delayed_properties (GtkBuilder *builder) obj = g_hash_table_lookup (builder->priv->objects, property->value); if (!obj) - g_warning ("No object called: %s\n", property->value); + g_warning ("No object called: %s", property->value); else g_object_set (object, property->name, obj, NULL); } |