summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-prefs.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-24 18:18:51 +0100
committerStefano Karapetsas <[email protected]>2012-11-24 18:18:51 +0100
commit8c30f31702202aed1b7e8c21b204a44ac2dc37cc (patch)
tree57d8a94324b6f320e9d4848b3fc7012217487ba4 /cpufreq/src/cpufreq-prefs.h
parentd2d15da67e19e821d051d1b2382885854acd140c (diff)
downloadmate-applets-8c30f31702202aed1b7e8c21b204a44ac2dc37cc.tar.bz2
mate-applets-8c30f31702202aed1b7e8c21b204a44ac2dc37cc.tar.xz
cpufreq: migrate to gsettings
Diffstat (limited to 'cpufreq/src/cpufreq-prefs.h')
-rw-r--r--cpufreq/src/cpufreq-prefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpufreq/src/cpufreq-prefs.h b/cpufreq/src/cpufreq-prefs.h
index 6a695cb6..760d9621 100644
--- a/cpufreq/src/cpufreq-prefs.h
+++ b/cpufreq/src/cpufreq-prefs.h
@@ -24,6 +24,7 @@
#include <gdk/gdk.h>
#include <glib-object.h>
+#include <gio/gio.h>
#include "cpufreq-applet.h"
G_BEGIN_DECLS
@@ -51,7 +52,7 @@ struct _CPUFreqPrefsClass {
GType cpufreq_prefs_get_type (void) G_GNUC_CONST;
-CPUFreqPrefs *cpufreq_prefs_new (const gchar *mateconf_key);
+CPUFreqPrefs *cpufreq_prefs_new (GSettings *settings);
guint cpufreq_prefs_get_cpu (CPUFreqPrefs *prefs);
CPUFreqShowMode cpufreq_prefs_get_show_mode (CPUFreqPrefs *prefs);