summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"));