diff options
author | Ali Abdallah <ali@ali-xfce.org> | 2009-11-06 20:58:02 +0100 |
---|---|---|
committer | Ali Abdallah <ali@ali-xfce.org> | 2009-11-06 20:58:02 +0100 |
commit | 13c68f4148f2ffd91a3c562bc5588c42a3d3219d (patch) | |
tree | e4a504f393b5cd7a7e616e7f0d60205c82603d3f /src/xfpm-xfconf.c | |
parent | 4ab79e4744caf4a5649407d44df025d1122451dd (diff) | |
download | ixfce4-power-manager-13c68f4148f2ffd91a3c562bc5588c42a3d3219d.tar.gz |
Check dkp daemon version as the minimum allowed version is 011 since
earlier versions of devkit-power uses dash-dash property names
while newer version uses FirstLetterCaps.
Diffstat (limited to 'src/xfpm-xfconf.c')
-rw-r--r-- | src/xfpm-xfconf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xfpm-xfconf.c b/src/xfpm-xfconf.c index e1b83662..3ac3a463 100644 --- a/src/xfpm-xfconf.c +++ b/src/xfpm-xfconf.c @@ -29,8 +29,6 @@ #include <glib.h> #include <libxfce4util/libxfce4util.h> -#include <xfconf/xfconf.h> - #include "xfpm-xfconf.h" #include "xfpm-config.h" #include "xfpm-enum-glib.h" @@ -578,3 +576,8 @@ xfpm_xfconf_new (void) } return XFPM_XFCONF (xfpm_xfconf_object); } + +XfconfChannel *xfpm_xfconf_get_channel (XfpmXfconf *conf) +{ + return conf->priv->channel; +} |