diff libpurple/dbus-analyze-functions.py @ 30711:ab0c6287e9a5

propagate from branch 'im.pidgin.pidgin' (head 7f7ef3aa89b9c72fb9cb9d2eb1916d051a108d17) to branch 'im.pidgin.pidgin.mxit' (head 695a97f9710d782a912735770e97840290fff5d9)
author andrew.victor@mxit.com
date Wed, 02 Jun 2010 06:27:24 +0000
parents cb74b2877ea7
children 37c9f6020c35
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Fri May 28 21:10:09 2010 +0000
+++ b/libpurple/dbus-analyze-functions.py	Wed Jun 02 06:27:24 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