summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 17:21:54 +0200
committerraveit65 <[email protected]>2021-11-21 17:18:34 +0100
commitae5435089a2c5a19da5b47369f5a45b724803e64 (patch)
treec2accd37ccc3448e4308d2cd7fb17228f640d40c
parent8281e9833a31d8731e8dd405fea2b1138dcc4ff8 (diff)
downloadmate-applets-ae5435089a2c5a19da5b47369f5a45b724803e64.tar.bz2
mate-applets-ae5435089a2c5a19da5b47369f5a45b724803e64.tar.xz
Remove whitespaces before #ifdef, and #endif
-rw-r--r--battstat/power-management.c16
-rw-r--r--mateweather/src/mateweather-pref.c16
2 files changed, 16 insertions, 16 deletions
diff --git a/battstat/power-management.c b/battstat/power-management.c
index cd0e3f33..ebf8ada6 100644
--- a/battstat/power-management.c
+++ b/battstat/power-management.c
@@ -392,14 +392,14 @@ power_management_getinfo (BatteryStatus *status)
return NULL;
}
- #ifdef HAVE_UPOWER
- if (using_upower)
- {
- battstat_upower_get_battery_info (status);
- return NULL;
- }
- #endif
-
+#ifdef HAVE_UPOWER
+ if (using_upower)
+ {
+ battstat_upower_get_battery_info (status);
+ return NULL;
+ }
+#endif
+
retval = apm_readinfo (status);
if (status->percent == -1) {
diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c
index d7ffe868..32314f37 100644
--- a/mateweather/src/mateweather-pref.c
+++ b/mateweather/src/mateweather-pref.c
@@ -1035,15 +1035,15 @@ mateweather_pref_create (MateWeatherPref* pref)
}
#endif /* RADARMAP */
- #ifdef HAVE_LIBNOTIFY
- /* setup show-notifications button */
- pref->priv->basic_show_notifications_btn = gtk_check_button_new_with_mnemonic (_("Show _notifications"));
+#ifdef HAVE_LIBNOTIFY
+ /* setup show-notifications button */
+ pref->priv->basic_show_notifications_btn = gtk_check_button_new_with_mnemonic (_("Show _notifications"));
- if (!g_settings_is_writable (pref->priv->applet->settings, "show-notifications"))
- {
- hard_set_sensitive (pref->priv->basic_show_notifications_btn, FALSE);
- }
- #endif
+ if (!g_settings_is_writable (pref->priv->applet->settings, "show-notifications"))
+ {
+ hard_set_sensitive (pref->priv->basic_show_notifications_btn, FALSE);
+ }
+#endif
frame = create_hig_category (pref_basic_vbox, _("Update"));