# HG changeset patch # User Sadrul Habib Chowdhury # Date 1178122449 0 # Node ID c5bcac0d593d1fca9226381d808e75a22db799e3 # Parent ea82b9e581a8f2bf212f11f6ce1323bb75bfa40b gchar returning functions should also be exposed for dbus. diff -r ea82b9e581a8 -r c5bcac0d593d libpurple/dbus-analyze-functions.py --- a/libpurple/dbus-analyze-functions.py Wed May 02 15:47:39 2007 +0000 +++ b/libpurple/dbus-analyze-functions.py Wed May 02 16:14:09 2007 +0000 @@ -102,7 +102,7 @@ # pointers ... if (len(type) == 2) and (type[1] == pointer): # strings - if type[0] == "char": + if type[0] in ["char", "gchar"]: if const: return self.inputstring(type, name) else: @@ -134,7 +134,7 @@ const = True # a string - if type == ["char", pointer]: + if type == ["char", pointer] or type == ["gchar", pointer]: return self.outputstring(type, name, const) # simple types (ints, booleans, enums, ...)