diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-24 18:18:51 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-24 18:18:51 +0100 |
commit | 8c30f31702202aed1b7e8c21b204a44ac2dc37cc (patch) | |
tree | 57d8a94324b6f320e9d4848b3fc7012217487ba4 /cpufreq/src/cpufreq-prefs.h | |
parent | d2d15da67e19e821d051d1b2382885854acd140c (diff) | |
download | mate-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.h | 3 |
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); |