# HG changeset patch # User Sadrul Habib Chowdhury # Date 1179045266 0 # Node ID 3b01cb4147d3cf7a2baeebe37b3c1b9a87b0cdb5 # Parent e5bed026ccd2d77b532373337509c3b58ec6d9c4 Callbacks are not supported for dbus. diff -r e5bed026ccd2 -r 3b01cb4147d3 libpurple/dbus-analyze-functions.py --- 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