[gnome-settings-daemon] power: Simplify D-Bus XML
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Simplify D-Bus XML
- Date: Sat, 12 Jan 2013 21:12:24 +0000 (UTC)
commit aa3e610222ba2cf05d7d972b83e7bd1ef5962c79
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jan 12 15:35:24 2013 +0100
power: Simplify D-Bus XML
plugins/power/gsd-power-manager.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 96e1e0b..9b5a7b8 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -89,10 +89,8 @@
static const gchar introspection_xml[] =
"<node>"
"<interface name='org.gnome.SettingsDaemon.Power'>"
- "<property name='Icon' type='s' access='read'>"
- "</property>"
- "<property name='Tooltip' type='s' access='read'>"
- "</property>"
+ "<property name='Icon' type='s' access='read'/>"
+ "<property name='Tooltip' type='s' access='read'/>"
"<method name='GetPrimaryDevice'>"
"<arg name='device' type='(susdut)' direction='out' />"
"</method>"
@@ -114,8 +112,7 @@ static const gchar introspection_xml[] =
" <arg type='u' name='percentage' direction='in'/>"
" <arg type='u' name='new_percentage' direction='out'/>"
" </method>"
-" <signal name='Changed'>"
-" </signal>"
+" <signal name='Changed'/>"
" </interface>"
" <interface name='org.gnome.SettingsDaemon.Power.Keyboard'>"
" <method name='StepUp'>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]