summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-06 17:33:12 +0100
committerZenWalker <[email protected]>2020-03-03 10:43:17 +0100
commit6444fac00d01ad65db5efa4fea5fd1df189c0fe3 (patch)
tree7f4a0e672f3c7889b0f8e943ff62590df0f0a912 /applets
parent770aff7cfae9822209e6bf45071c7473e628f7dd (diff)
downloadmate-power-manager-6444fac00d01ad65db5efa4fea5fd1df189c0fe3.tar.bz2
mate-power-manager-6444fac00d01ad65db5efa4fea5fd1df189c0fe3.tar.xz
Remove warnings: unused variable
Diffstat (limited to 'applets')
-rw-r--r--applets/brightness/brightness-applet.c2
-rw-r--r--applets/inhibit/inhibit-applet.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index 240cff8..168d849 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -963,8 +963,6 @@ gpm_brightness_applet_name_vanished_cb (GDBusConnection *connection,
static void
gpm_brightness_applet_init (GpmBrightnessApplet *applet)
{
- DBusGConnection *connection;
-
/* initialize fields */
applet->size = 0;
applet->call_worked = TRUE;
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c
index 23087ef..82403b3 100644
--- a/applets/inhibit/inhibit-applet.c
+++ b/applets/inhibit/inhibit-applet.c
@@ -445,8 +445,6 @@ gpm_inhibit_applet_name_vanished_cb (GDBusConnection *connection,
static void
gpm_inhibit_applet_init (GpmInhibitApplet *applet)
{
- DBusGConnection *connection;
-
/* initialize fields */
applet->image = NULL;
applet->cookie = 0;