summaryrefslogtreecommitdiff
path: root/common/xfconf-dbus.xml
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2010-02-08 18:44:58 +0100
committerNick Schermer <nick@xfce.org>2010-02-08 19:54:14 +0100
commitf75d7046b5e3af8ea7aa6b7ab4b38f3857b8f026 (patch)
treea7ce867d2882f1da6c3dccf74ea1a2de766734cc /common/xfconf-dbus.xml
parent3451406146461eda8548c6561432dad35b8c6214 (diff)
downloadxfconf-f75d7046b5e3af8ea7aa6b7ab4b38f3857b8f026.tar.gz
Use async DBus messages in xfconfd.
We don't actually use this for threads, but to cleanup our data after sending it to dbus. Previously a lot of this leaked (all the errors).
Diffstat (limited to 'common/xfconf-dbus.xml')
-rw-r--r--common/xfconf-dbus.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/xfconf-dbus.xml b/common/xfconf-dbus.xml
index 3f2138c..7034767 100644
--- a/common/xfconf-dbus.xml
+++ b/common/xfconf-dbus.xml
@@ -20,6 +20,7 @@
Sets a property value.
-->
<method name="SetProperty">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property" type="s"/>
<arg direction="in" name="value" type="v"/>
@@ -35,6 +36,7 @@
Gets a property value, returned as a variant type.
-->
<method name="GetProperty">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property" type="s"/>
<arg direction="out" name="value" type="v"/>
@@ -57,6 +59,7 @@
variants.
-->
<method name="GetAllProperties">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property_base" type="s"/>
<arg direction="out" name="properties" type="a{sv}"/>
@@ -74,6 +77,7 @@
Returns: %TRUE if @property exists, %FALSE if not.
-->
<method name="PropertyExists">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property" type="s"/>
<arg direction="out" name="exists" type="b"/>
@@ -104,6 +108,7 @@
by system policy, then it's just a reset.
-->
<method name="ResetProperty">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property" type="s"/>
<arg direction="in" name="recursive" type="b"/>
@@ -116,6 +121,7 @@
strings.
-->
<method name="ListChannels">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="out" name="channels" type="as"/>
</method>
@@ -133,6 +139,7 @@
environment is set up.
-->
<method name="IsPropertyLocked">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="in" name="channel" type="s"/>
<arg direction="in" name="property" type="s"/>
<arg direction="out" name="locked" type="b"/>