From ae5435089a2c5a19da5b47369f5a45b724803e64 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Oct 2021 17:21:54 +0200 Subject: Remove whitespaces before #ifdef, and #endif --- battstat/power-management.c | 16 ++++++++-------- mateweather/src/mateweather-pref.c | 16 ++++++++-------- 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")); -- cgit v1.2.1