[gnome-screenshot] screenshot: use g_message instead of a g_warning for fallback path
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screenshot] screenshot: use g_message instead of a g_warning for fallback path
- Date: Tue, 29 May 2012 13:34:46 +0000 (UTC)
commit 5645445e30e3d1e108dd2b8fc5ec17eeddb119f4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue May 29 09:32:47 2012 -0400
screenshot: use g_message instead of a g_warning for fallback path
When we can't use the Shell builtin interface, don't print a warning,
but a message, since that's apparently coonfusing.
https://bugzilla.gnome.org/show_bug.cgi?id=677023
src/screenshot-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/screenshot-utils.c b/src/screenshot-utils.c
index 6c5d08d..0ab32f7 100644
--- a/src/screenshot-utils.c
+++ b/src/screenshot-utils.c
@@ -653,8 +653,8 @@ screenshot_get_pixbuf (GdkRectangle *rectangle)
if (error != NULL)
{
- g_warning ("Unable to use GNOME Shell's builtin screenshot interface, "
- "resorting to fallback X11. Error: %s", error->message);
+ g_message ("Unable to use GNOME Shell's builtin screenshot interface, "
+ "resorting to fallback X11.");
g_error_free (error);
screenshot = screenshot_fallback_get_pixbuf (rectangle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]