diff libpurple/dbus-analyze-functions.py @ 32612:c317ae5dcb6e

propagate from branch 'im.pidgin.pidgin' (head 52f4817b6a7b2db5cad41758c4911c0f20f77eb2) to branch 'im.pidgin.cpw.qulogic.gtk3' (head 09d4e9b50dd8919f186c2221e24b5f388bec7a88)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 05 Jun 2010 21:22:26 +0000
parents cb74b2877ea7
children 37c9f6020c35
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Sat Feb 20 07:03:22 2010 +0000
+++ b/libpurple/dbus-analyze-functions.py	Sat Jun 05 21:22:26 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