[Xfce4-commits] [xfce/xfce4-power-manager] 02/02: Remove old CPU freq stuff
noreply at xfce.org
noreply at xfce.org
Mon Aug 18 16:56:06 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 c76cf0295748a9d2260b3d3375e1633c6984b61c
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Aug 18 17:24:38 2014 +0300
Remove old CPU freq stuff
We don't do CPU frequency management anymore, remove the lingering
code.
---
common/xfpm-config.h | 1 -
src/xfpm-xfconf.c | 12 +-----------
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/common/xfpm-config.h b/common/xfpm-config.h
index 83af97f..1a19194 100644
--- a/common/xfpm-config.h
+++ b/common/xfpm-config.h
@@ -55,7 +55,6 @@ G_BEGIN_DECLS
#define PRESENTATION_MODE "presentation-mode"
#define NETWORK_MANAGER_SLEEP "network-manager-sleep"
#define SHOW_TRAY_ICON_CFG "show-tray-icon"
-#define CPU_FREQ_CONTROL "enable-cpu-freq-control"
#define POWER_SWITCH_CFG "power-button-action"
#define HIBERNATE_SWITCH_CFG "hibernate-button-action"
diff --git a/src/xfpm-xfconf.c b/src/xfpm-xfconf.c
index cfae423..2603bc1 100644
--- a/src/xfpm-xfconf.c
+++ b/src/xfpm-xfconf.c
@@ -57,7 +57,6 @@ enum
PROP_0,
PROP_GENERAL_NOTIFICATION,
PROP_LOCK_SCREEN_ON_SLEEP,
- PROP_ENABLE_CPU_FREQ,
PROP_CRITICAL_LEVEL,
PROP_SHOW_BRIGHTNESS_POPUP,
PROP_HANDLE_BRIGHTNESS_KEYS,
@@ -258,16 +257,7 @@ xfpm_xfconf_class_init (XfpmXfconfClass *klass)
NULL, NULL,
TRUE,
G_PARAM_READWRITE));
-
- /**
- * XfpmXfconf::enable-cpu-freq-control
- **/
- g_object_class_install_property (object_class,
- PROP_ENABLE_CPU_FREQ,
- g_param_spec_boolean (CPU_FREQ_CONTROL,
- NULL, NULL,
- TRUE,
- G_PARAM_READWRITE));
+
/**
* XfpmXfconf::critical-power-level
**/
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list