aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-07 21:13:07 -0500
committerTed Gould <ted@canonical.com>2009-04-07 21:13:07 -0500
commit75002ffd6068873af92d3f8f2c687415f0325e1c (patch)
treef4315f048914906c1de01c77cda91ac661889c23
parent9a7bcf39b419f9ac30eb44c14e5f7f17a34cc15b (diff)
downloadlibayatana-indicator-75002ffd6068873af92d3f8f2c687415f0325e1c.tar.gz
libayatana-indicator-75002ffd6068873af92d3f8f2c687415f0325e1c.tar.bz2
libayatana-indicator-75002ffd6068873af92d3f8f2c687415f0325e1c.zip
Clearing another warning. Shame gdk doesn't do this one for us.
-rw-r--r--libindicate/indicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c
index e4bae76..9427d03 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -249,7 +249,7 @@ indicate_indicator_set_property_icon (IndicateIndicator * indicator, const gchar
gchar * png_data;
gsize png_data_len;
- if (!gdk_pixbuf_save_to_buffer(data, &png_data, &png_data_len, "png", &error, NULL)) {
+ if (!gdk_pixbuf_save_to_buffer((GdkPixbuf *)data, &png_data, &png_data_len, "png", &error, NULL)) {
if (error == NULL) {
g_warning("Unable to create pixbuf data stream: %d", png_data_len);
} else {