aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-08-03 09:30:08 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-08-03 09:30:08 -0400
commite70592564797c841e8d843afd29d3053bedc0a00 (patch)
treed84a3a7bb444a5f0c17bb950be324ef1b8edc236 /src/indicator-power.c
parente9d8efca8c5bed812f5308a504c6fa25b70fa7e4 (diff)
parent1ad8d1f21593e74fd831362aab9c5289924a1206 (diff)
downloadayatana-indicator-power-e70592564797c841e8d843afd29d3053bedc0a00.tar.gz
ayatana-indicator-power-e70592564797c841e8d843afd29d3053bedc0a00.tar.bz2
ayatana-indicator-power-e70592564797c841e8d843afd29d3053bedc0a00.zip
Import upstream version 0.5
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r--src/indicator-power.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 5649473..17c6bd5 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -38,17 +38,10 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEFAULT_ICON "gpm-battery-missing"
-#if HAVE_GSD
#define DBUS_SERVICE "org.gnome.SettingsDaemon"
#define DBUS_PATH "/org/gnome/SettingsDaemon"
#define POWER_DBUS_PATH DBUS_PATH "/Power"
#define POWER_DBUS_INTERFACE "org.gnome.SettingsDaemon.Power"
-#else
-#define DBUS_SERVICE "org.gnome.PowerManager"
-#define DBUS_PATH "/org/gnome/PowerManager"
-#define POWER_DBUS_PATH DBUS_PATH
-#define POWER_DBUS_INTERFACE "org.gnome.PowerManager"
-#endif
#define INDICATOR_POWER_TYPE (indicator_power_get_type ())
#define INDICATOR_POWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_POWER_TYPE, IndicatorPower))