diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-21 00:50:24 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-07-21 00:50:24 -0500 |
commit | b08f9b096f956b528ad974a30828a809b827efef (patch) | |
tree | 656289e55e8ed415bc552fa99904e240c30744ec /src/main.c | |
parent | 6ea2db56307d04ac8dba4bcf929cd716f4840359 (diff) | |
download | ayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.tar.gz ayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.tar.bz2 ayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.zip |
second draft of low battery power notifications, still a work in progress
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -25,7 +25,6 @@ #include "device.h" #include "device-provider-upower.h" -#include "notifier.h" #include "service.h" /*** @@ -43,7 +42,6 @@ int main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) { IndicatorPowerDeviceProvider * device_provider; - IndicatorPowerNotifier * notifier; IndicatorPowerService * service; GMainLoop * loop; @@ -54,7 +52,6 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) /* run */ device_provider = indicator_power_device_provider_upower_new (); - notifier = indicator_power_notifier_new (device_provider); service = indicator_power_service_new (device_provider); loop = g_main_loop_new (NULL, FALSE); g_signal_connect (service, INDICATOR_POWER_SERVICE_SIGNAL_NAME_LOST, @@ -64,7 +61,6 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) /* cleanup */ g_main_loop_unref (loop); g_clear_object (&service); - g_clear_object (¬ifier); g_clear_object (&device_provider); return 0; } |