summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 10:50:53 +0200
committerraveit65 <[email protected]>2020-08-04 12:44:51 +0200
commit301549e96d34a3b79fa471aaff5402689bf5868f (patch)
tree89e93abb6dc0f295314b5bd02188d9bef905ddf4 /applets
parent2b1255cb5a3b3bb10e04c29f8aaaad05b1359b27 (diff)
downloadmate-power-manager-301549e96d34a3b79fa471aaff5402689bf5868f.tar.bz2
mate-power-manager-301549e96d34a3b79fa471aaff5402689bf5868f.tar.xz
Remove trailing spaces/tabs
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
Diffstat (limited to 'applets')
-rw-r--r--applets/brightness/brightness-applet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index 3525d2b..fdb5ba5 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -291,7 +291,7 @@ gpm_applet_draw_cb (GpmBrightnessApplet *applet)
cairo_rectangle (cr, 0, 0, w, h);
cairo_fill (cr);
}
-
+
/* draw color background */
if (bg_type == PANEL_COLOR_BACKGROUND && !applet->popped) {
gdk_cairo_set_source_rgba (cr, &color);
@@ -460,7 +460,7 @@ static gboolean
gpm_applet_key_press_cb (GtkWidget *popup, GdkEventKey *event, GpmBrightnessApplet *applet)
{
int i;
-
+
switch (event->keyval) {
case GDK_KEY_KP_Enter:
case GDK_KEY_ISO_Enter:
@@ -528,7 +528,7 @@ gpm_applet_scroll_cb (GpmBrightnessApplet *applet, GdkEventScroll *event)
for (i = 0;i < 5;i++) {
gpm_applet_plus_cb (NULL, applet);
}
-
+
} else {
for (i = 0;i < 5;i++) {
gpm_applet_minus_cb (NULL, applet);