diff options
author | Christian Persch <[email protected]> | 2012-08-07 12:59:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-21 06:56:34 +0100 |
commit | 715e15b587b66122750f1565f24ea7bb818d2061 (patch) | |
tree | bfdd0bd0af26538913c97f5de039e480ff10cb11 /shell/ev-application.c | |
parent | da9c89fdf523b8dab7a431bef70f31feeca0f853 (diff) | |
download | atril-715e15b587b66122750f1565f24ea7bb818d2061.tar.bz2 atril-715e15b587b66122750f1565f24ea7bb818d2061.tar.xz |
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
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r-- | shell/ev-application.c | 6 |
1 files 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); |