diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-08-22 09:55:30 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-08-22 09:55:30 -0500 |
commit | 3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f (patch) | |
tree | b43fcc6a9bbde59a321fc2dc43fd4b9fe716fb3b /src/main.c | |
parent | a402b61b0acc81a808f9cb353e0df81bb9b14de0 (diff) | |
parent | c7e1740203b41bb9cb12da0ea97477363224e3ee (diff) | |
download | ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.tar.gz ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.tar.bz2 ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.zip |
sync with trunk.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,9 +41,9 @@ on_name_lost (gpointer instance G_GNUC_UNUSED, gpointer loop) int main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) { - GMainLoop * loop; - IndicatorPowerService * service; IndicatorPowerDeviceProvider * device_provider; + IndicatorPowerService * service; + GMainLoop * loop; /* boilerplate i18n */ setlocale (LC_ALL, ""); @@ -59,8 +59,8 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) g_main_loop_run (loop); /* cleanup */ - g_clear_object (&device_provider); - g_clear_object (&service); g_main_loop_unref (loop); + g_clear_object (&service); + g_clear_object (&device_provider); return 0; } |