[gupnp] [PATCH] Fix icon name in warning
- From: Sven Neumann <s neumann raumfeld com>
- To: gupnp o-hand com
- Cc: Sven Neumann <s neumann raumfeld com>
- Subject: [gupnp] [PATCH] Fix icon name in warning
- Date: Wed, 5 Jan 2011 17:51:58 +0100
When loading an icon fails, use the right name in the warning.
---
src/common/icons.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/common/icons.c b/src/common/icons.c
index 149d699..e52b5d9 100644
--- a/src/common/icons.c
+++ b/src/common/icons.c
@@ -222,7 +222,7 @@ get_pixbuf_from_theme (const char *icon_name,
&error);
if (pixbuf == NULL) {
g_warning ("Failed to load icon %s: %s",
- fallback_icon_name,
+ icon_name,
error->message);
g_error_free (error);
--
1.7.1
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]