diff libpurple/dbus-analyze-functions.py @ 30526:cb74b2877ea7

Fix D-Bus version of purple_xfer_get_thumbnail. I don't think this was a real problem, except for the warning.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 27 May 2010 00:36:57 +0000
parents b168718d1072
children 37c9f6020c35
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Wed May 26 23:20:18 2010 +0000
+++ b/libpurple/dbus-analyze-functions.py	Thu May 27 00:36:57 2010 +0000
@@ -170,7 +170,7 @@
                 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