summaryrefslogtreecommitdiff
path: root/battstat/battstat.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-24 18:16:24 +0100
committerStefano Karapetsas <[email protected]>2012-11-24 18:16:24 +0100
commit8ea3054c1e05445f990c98db033754cf190d2a7a (patch)
treea57ea50f674d9d56e20ef69735c476841056dad1 /battstat/battstat.h
parent9456b72c5117b9784e5b99b4940c5f9d98d6cc32 (diff)
downloadmate-applets-8ea3054c1e05445f990c98db033754cf190d2a7a.tar.bz2
mate-applets-8ea3054c1e05445f990c98db033754cf190d2a7a.tar.xz
battstat: migrate to gsettings
Diffstat (limited to 'battstat/battstat.h')
-rw-r--r--battstat/battstat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/battstat/battstat.h b/battstat/battstat.h
index 1c591bce..a48dd121 100644
--- a/battstat/battstat.h
+++ b/battstat/battstat.h
@@ -24,9 +24,10 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <gio/gio.h>
#include <mate-panel-applet.h>
-#include <mate-panel-applet-mateconf.h>
+#include <mate-panel-applet-gsettings.h>
#define DEBUG 0
@@ -96,7 +97,8 @@ typedef struct _ProgressData {
GtkWidget *full_toggle;
GtkWidget *hbox_ptr;
- /* flags set from mateconf or the properties dialog */
+ /* flags set from gsettings or the properties dialog */
+ GSettings *settings;
guint red_val;
guint orange_val;
guint yellow_val;