diff options
author | Pablo Barciela <[email protected]> | 2019-11-02 17:20:17 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-11-08 18:49:43 +0100 |
commit | a0c8f06e54b7ae7c16865258906492b6a1f0c238 (patch) | |
tree | b0a953a1602a03646bbc87d7e98e49cfd442b046 | |
parent | 1412d42a87acf98d87fe58815f36d23346971c51 (diff) | |
download | mate-power-manager-a0c8f06e54b7ae7c16865258906492b6a1f0c238.tar.bz2 mate-power-manager-a0c8f06e54b7ae7c16865258906492b6a1f0c238.tar.xz |
avoid redundant redeclarations
-rw-r--r-- | applets/brightness/brightness-applet.c | 3 | ||||
-rw-r--r-- | applets/inhibit/inhibit-applet.c | 3 |
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); |