summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-11-02 17:20:17 +0100
committerZenWalker <[email protected]>2019-11-08 18:49:43 +0100
commita0c8f06e54b7ae7c16865258906492b6a1f0c238 (patch)
treeb0a953a1602a03646bbc87d7e98e49cfd442b046 /applets
parent1412d42a87acf98d87fe58815f36d23346971c51 (diff)
downloadmate-power-manager-a0c8f06e54b7ae7c16865258906492b6a1f0c238.tar.bz2
mate-power-manager-a0c8f06e54b7ae7c16865258906492b6a1f0c238.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'applets')
-rw-r--r--applets/brightness/brightness-applet.c3
-rw-r--r--applets/inhibit/inhibit-applet.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index fdcb366..1d5e58e 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -75,9 +75,6 @@ GType gpm_brightness_applet_get_type (void);
#define GPM_DBUS_PATH_BACKLIGHT "/org/mate/PowerManager/Backlight"
#define GPM_DBUS_INTERFACE_BACKLIGHT "org.mate.PowerManager.Backlight"
-static void gpm_brightness_applet_class_init (GpmBrightnessAppletClass *klass);
-static void gpm_brightness_applet_init (GpmBrightnessApplet *applet);
-
G_DEFINE_TYPE (GpmBrightnessApplet, gpm_brightness_applet, PANEL_TYPE_APPLET)
static void gpm_applet_get_icon (GpmBrightnessApplet *applet);
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c
index 7d903dd..15a5d7f 100644
--- a/applets/inhibit/inhibit-applet.c
+++ b/applets/inhibit/inhibit-applet.c
@@ -69,9 +69,6 @@ GType gpm_inhibit_applet_get_type (void);
#define GS_DBUS_PATH "/org/gnome/SessionManager"
#define GS_DBUS_INTERFACE "org.gnome.SessionManager"
-static void gpm_inhibit_applet_class_init (GpmInhibitAppletClass *klass);
-static void gpm_inhibit_applet_init (GpmInhibitApplet *applet);
-
G_DEFINE_TYPE (GpmInhibitApplet, gpm_inhibit_applet, PANEL_TYPE_APPLET)
static void gpm_applet_update_icon (GpmInhibitApplet *applet);