[Xfce4-commits] [xfce/xfce4-power-manager] 45/64: Always make DPMS-related settings-widgets available as we always show them
noreply at xfce.org
noreply at xfce.org
Mon May 26 06:00:40 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 3c31e6c37933599a0aaf559f4fb5a7c597d8bce4
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu May 15 16:17:18 2014 +0200
Always make DPMS-related settings-widgets available as we always show them
---
settings/xfpm-settings.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 9394b06..fd02639 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -50,12 +50,10 @@
static GtkBuilder *xml = NULL;
static GtkWidget *nt = NULL;
-#ifdef HAVE_DPMS
static GtkWidget *on_battery_dpms_sleep = NULL;
static GtkWidget *on_battery_dpms_off = NULL;
static GtkWidget *on_ac_dpms_sleep = NULL;
static GtkWidget *on_ac_dpms_off = NULL;
-#endif
static gboolean lcd_brightness = FALSE;
@@ -1495,12 +1493,10 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean system_laptop,
lcd_brightness = has_lcd_brightness;
-#ifdef HAVE_DPMS
on_battery_dpms_sleep = GTK_WIDGET (gtk_builder_get_object (xml, "sleep-dpms-on-battery"));
on_battery_dpms_off = GTK_WIDGET (gtk_builder_get_object (xml, "off-dpms-on-battery"));
on_ac_dpms_sleep = GTK_WIDGET (gtk_builder_get_object (xml, "sleep-dpms-on-ac"));
on_ac_dpms_off = GTK_WIDGET (gtk_builder_get_object (xml, "off-dpms-on-ac"));
-#endif
dialog = GTK_WIDGET (gtk_builder_get_object (xml, "xfpm-settings-dialog"));
nt = GTK_WIDGET (gtk_builder_get_object (xml, "main-notebook"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list