diff options
author | Christian Persch <[email protected]> | 2012-08-07 12:59:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 08:43:22 +0100 |
commit | b0f83ee776ec45e31927406e12ca3a869b6220f0 (patch) | |
tree | 13b41b0b95545a286d574c411f92557a89ff47d5 /shell | |
parent | 0884be6232cf99f2396217e2adc2a98f139240c0 (diff) | |
download | atril-b0f83ee776ec45e31927406e12ca3a869b6220f0.tar.bz2 atril-b0f83ee776ec45e31927406e12ca3a869b6220f0.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')
-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); |