From 715e15b587b66122750f1565f24ea7bb818d2061 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 7 Aug 2012 12:59:52 +0200 Subject: shell: Use g_printerr instead of g_warning These are really runtime errors, not warnings, so just use g_printerr. origin commit: https://git.gnome.org/browse/evince/commit/?id=adbed8b --- shell/ev-application.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/ev-application.c b/shell/ev-application.c index 0a98bc8d..3f63f0dc 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -285,7 +285,7 @@ ev_spawn (const char *uri, g_object_unref (ctx); } if (error != NULL) { - g_warning ("Error launching atril %s: %s\n", uri, error->message); + g_printerr ("Error launching atril %s: %s\n", uri, error->message); g_error_free (error); } @@ -398,7 +398,7 @@ on_register_uri_cb (GObject *source_object, value = g_dbus_connection_call_finish (connection, res, &error); if (!value) { - g_warning ("Error registering document: %s\n", error->message); + g_printerr ("Error registering document: %s\n", error->message); g_error_free (error); _ev_application_open_uri_at_dest (application, @@ -585,7 +585,7 @@ ev_application_unregister_uri (EvApplication *application, NULL, &error); if (value == NULL) { - g_warning ("Error unregistering document: %s\n", error->message); + g_printerr ("Error unregistering document: %s\n", error->message); g_error_free (error); } else { g_variant_unref (value); -- cgit v1.2.1