summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author <robert.mcqueen@collabora.co.uk>2006-01-14 14:35:30 +0000
committer <robert.mcqueen@collabora.co.uk>2006-01-14 14:35:30 +0000
commitbfee0db6e3ca27f634dcfa5ade944f6404fd9bc4 (patch)
treecd91e7989e1e41d36d59334861c28fbbb1b6c986 /tools
parentfd21c873dfd71da32f811f94dc39f5b5df371c4e (diff)
try marshalling object paths as strings
Diffstat (limited to 'tools')
-rw-r--r--tools/gengobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gengobject.py b/tools/gengobject.py
index 4963c2ae..d70c9bff 100644
--- a/tools/gengobject.py
+++ b/tools/gengobject.py
@@ -54,7 +54,7 @@ def type_to_gtype(s):
if s == 's': #string
return ("gchar *", "G_TYPE_STRING", "STRING", "g_free")
if s == 'o': #object path
- return ("gpointer", "DBUS_TYPE_G_PROXY", "BOXED", "g_object_unref")
+ return ("gchar *", "DBUS_TYPE_G_OBJECT_PATH", "STRING", "g_free")
if s == 'as': #array of strings
return ("gchar **", "G_TYPE_STRV", "BOXED", "g_strfreev")
if s == 'v': #variant