------------------------------------------------------------
revno: 11
committer: Ted Gould <[email protected]>
branch nick: trunk
timestamp: Thu 2009-09-03 15:32:17 -0500
message:
Casting the gsize to an int for 64-bit systems. We shouldn't have pngs over
4 GB anyway. Wonder how dbus would handle it...
modified:
libdbusmenu-gtk/menuitem.c
--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk
Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription.
=== modified file 'libdbusmenu-gtk/menuitem.c'
--- libdbusmenu-gtk/menuitem.c 2009-09-02 18:50:29 +0000
+++ libdbusmenu-gtk/menuitem.c 2009-09-03 20:32:17 +0000
@@ -54,7 +54,7 @@
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);
+ g_warning("Unable to create pixbuf data stream: %d", (gint)png_data_len);
} else {
g_warning("Unable to create pixbuf data stream: %s", error->message);
g_error_free(error);
_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help : https://help.launchpad.net/ListHelp