pidgin: 2ad7d834: Use correct format for printing gsize ty...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Dec 22 04:41:11 EST 2011
----------------------------------------------------------------------
Revision: 2ad7d8340eb7c4d0e548b4f1de1edc6c13cc78bd
Parent: cc4485dc0ca0e789f483d214027cbf40df471887
Author: qulogic at pidgin.im
Date: 12/21/11 20:42:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2ad7d8340eb7c4d0e548b4f1de1edc6c13cc78bd
Changelog:
Use correct format for printing gsize types.
Changes against parent cc4485dc0ca0e789f483d214027cbf40df471887
patched pidgin/gtkutils.c
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c 7350deb513f52bc6d17d6c4b66aea73eb282d1a8
+++ pidgin/gtkutils.c b65521c8992ff71de842e6996845f791580408cc
@@ -2533,9 +2533,9 @@ pidgin_convert_buddy_icon(PurplePlugin *
the image. */
purple_debug_info("buddyicon", "Converted image from "
"%dx%d to %dx%d, format=%s, quality=%u, "
- "filesize=%zu\n", orig_width, orig_height,
- new_width, new_height, prpl_formats[i], quality,
- length);
+ "filesize=%" G_GSIZE_FORMAT "\n",
+ orig_width, orig_height, new_width, new_height,
+ prpl_formats[i], quality, length);
if (len)
*len = length;
g_strfreev(prpl_formats);
@@ -3126,7 +3126,7 @@ static GObject *pidgin_pixbuf_from_data_
if (!gdk_pixbuf_loader_write(loader, buf, count, &error) || error) {
purple_debug_warning("gtkutils", "gdk_pixbuf_loader_write() "
- "failed with size=%zu: %s\n", count,
+ "failed with size=%" G_GSIZE_FORMAT ": %s\n", count,
error ? error->message : "(no error message)");
if (error)
g_error_free(error);
@@ -3136,7 +3136,7 @@ static GObject *pidgin_pixbuf_from_data_
if (!gdk_pixbuf_loader_close(loader, &error) || error) {
purple_debug_warning("gtkutils", "gdk_pixbuf_loader_close() "
- "failed for image of size %zu: %s\n", count,
+ "failed for image of size %" G_GSIZE_FORMAT ": %s\n", count,
error ? error->message : "(no error message)");
if (error)
g_error_free(error);
@@ -3150,7 +3150,7 @@ static GObject *pidgin_pixbuf_from_data_
pixbuf = G_OBJECT(gdk_pixbuf_loader_get_pixbuf(loader));
if (!pixbuf) {
purple_debug_warning("gtkutils", "%s() returned NULL for image "
- "of size %zu\n",
+ "of size %" G_GSIZE_FORMAT "\n",
animated ? "gdk_pixbuf_loader_get_animation"
: "gdk_pixbuf_loader_get_pixbuf", count);
g_object_unref(G_OBJECT(loader));
More information about the Commits
mailing list