pidgin: 1ba8c6bf: Fix D-Bus version of purple_xfer_get_thu...

qulogic at pidgin.im qulogic at pidgin.im
Wed May 26 21:00:56 EDT 2010


-----------------------------------------------------------------
Revision: 1ba8c6bf4062af65e534889858dcf763d274e261
Ancestor: 328de073576a813f15f447a48d6ecb13306ccc0f
Author: qulogic at pidgin.im
Date: 2010-05-27T00:36:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1ba8c6bf4062af65e534889858dcf763d274e261

Modified files:
        libpurple/dbus-analyze-functions.py

ChangeLog: 

Fix D-Bus version of purple_xfer_get_thumbnail. I don't think this was a
real problem, except for the warning.

-------------- next part --------------
============================================================
--- libpurple/dbus-analyze-functions.py	2aec1155aef64ada53aa6c49b40014ad95e95d35
+++ libpurple/dbus-analyze-functions.py	e1bc4be7fc344f3c2cd3e91a94276724a1539564
@@ -170,7 +170,7 @@ class Binding:
                 return self.inputpurplestructure(type, name)
 
             # special case for *_get_data functions, be careful here...
-            elif (type[0] == "size_t") and (name == "len"):
+            elif (type[0] == "size_t" or type[0] == "gsize") and name == "len":
                 return self.inputgetdata(type, name)
             
             # unknown pointers are always replaced with NULL


More information about the Commits mailing list