diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 12:19:09 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 12:23:12 -0500 |
commit | 492ea59698e148b2911868f5cc88644caaba9bde (patch) | |
tree | 6cd1bc18d49e190c172ff927d7e1ed2d5d2fb088 /examples | |
parent | 435c8c9f0d6a277ec77cd62e90b35aa27635793b (diff) | |
download | gtk+-492ea59698e148b2911868f5cc88644caaba9bde.tar.gz |
examples: Strip newlines from g_warning and g_error
g_logv adds one for us already.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plugman.c b/examples/plugman.c index 3e7e02aeee..03c633d445 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -249,7 +249,7 @@ enable_plugin (const gchar *name) g_print ("Menus of '%s' plugin added\n", name); } else - g_warning ("Plugin menu not found\n"); + g_warning ("Plugin menu not found"); if (g_strcmp0 (name, "red") == 0) is_red_plugin_enabled = TRUE; @@ -284,7 +284,7 @@ disable_plugin (const gchar *name) } } else - g_warning ("Plugin menu not found\n"); + g_warning ("Plugin menu not found"); g_action_map_remove_action (G_ACTION_MAP (g_application_get_default ()), name); g_print ("Actions of '%s' plugin removed\n", name); |