aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-24 15:20:16 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-24 15:20:16 -0500
commit34cf2baf977650c60b53bf5a1e90bfec8b642ec9 (patch)
treecaeb69735dca5d37dfba1dff0fa8b9e6a6f67232
parent62a35de9ca05c71d98680b1e49c2c345a498acda (diff)
downloadayatana-indicator-power-34cf2baf977650c60b53bf5a1e90bfec8b642ec9.tar.gz
ayatana-indicator-power-34cf2baf977650c60b53bf5a1e90bfec8b642ec9.tar.bz2
ayatana-indicator-power-34cf2baf977650c60b53bf5a1e90bfec8b642ec9.zip
remove redundant '#include glib', '#include gobject' calls
-rw-r--r--src/device.h1
-rw-r--r--src/notifier.c1
-rw-r--r--src/notifier.h4
3 files changed, 1 insertions, 5 deletions
diff --git a/src/device.h b/src/device.h
index 77d34ef..d867707 100644
--- a/src/device.h
+++ b/src/device.h
@@ -24,7 +24,6 @@ License along with this library. If not, see
#ifndef __INDICATOR_POWER_DEVICE_H__
#define __INDICATOR_POWER_DEVICE_H__
-#include <glib-object.h>
#include <gio/gio.h> /* GIcon */
G_BEGIN_DECLS
diff --git a/src/notifier.c b/src/notifier.c
index 30285d3..29f678a 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -24,7 +24,6 @@
#include <libnotify/notify.h>
#include <glib/gi18n.h>
-#include <gio/gio.h>
#define HINT_INTERACTIVE "x-canonical-switch-to-application"
diff --git a/src/notifier.h b/src/notifier.h
index 8763ad6..f473ee7 100644
--- a/src/notifier.h
+++ b/src/notifier.h
@@ -20,9 +20,7 @@
#ifndef __INDICATOR_POWER_NOTIFIER_H__
#define __INDICATOR_POWER_NOTIFIER_H__
-#include <glib.h>
-#include <glib-object.h>
-#include <gio/gio.h> /* GDBusConnection */
+#include <gio/gio.h>
#include "device.h"