Callbacks are not supported for dbus.

Sun, 13 May 2007 08:34:26 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Sun, 13 May 2007 08:34:26 +0000
changeset 17113
bdedaa55b16b
parent 17112
16778fac2a09
child 17114
4b8f88f40d6f

Callbacks are not supported for dbus.

libpurple/dbus-analyze-functions.py file | annotate | diff | comparison | revisions
--- a/libpurple/dbus-analyze-functions.py	Sun May 13 07:30:53 2007 +0000
+++ b/libpurple/dbus-analyze-functions.py	Sun May 13 08:34:26 2007 +0000
@@ -96,7 +96,7 @@
 
         if len(type) == 1:
             # simple types (int, gboolean, etc.) and enums
-            if (type[0] in simpletypes) or (type[0].startswith("Purple")):
+            if (type[0] in simpletypes) or ((type[0].startswith("Purple") and not type[0].endswith("Callback"))):
                 return self.inputsimple(type, name)
 
         # pointers ... 
@@ -118,7 +118,6 @@
             # unknown pointers are always replaced with NULL
             else:
                 return self.inputpointer(type, name)
-                return
 
         raise myexception
 

mercurial