summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-prefs.h
diff options
context:
space:
mode:
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);