diff libpurple/dbus-analyze-functions.py @ 30370:47392e1f491d

merge of '021e6a7b4ba46230e93812c39268259f8c6bc7fe' and 'c3f4870015fc05ad90e44c5ed481618b8f3301b4'
author ivan.komarov@soc.pidgin.im
date Wed, 23 Jun 2010 22:32:45 +0000
parents cb74b2877ea7
children 37c9f6020c35
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Wed Jun 23 22:22:52 2010 +0000
+++ b/libpurple/dbus-analyze-functions.py	Wed Jun 23 22:32:45 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