changeset 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 7f564cf26ea3
children 34cd785f849c
files libpurple/dbus-analyze-functions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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