summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_applet.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-24 18:24:52 +0100
committerStefano Karapetsas <[email protected]>2012-11-24 18:24:52 +0100
commit18b437378c338287fec39b2e8f2ec2baf04f8cd1 (patch)
treedfb4cdf4f5fb26db055d5db3eef5a9fd7e616104 /stickynotes/stickynotes_applet.h
parent167eb3ed1e82658e6ea969a8c5ffd220256cfd11 (diff)
downloadmate-applets-18b437378c338287fec39b2e8f2ec2baf04f8cd1.tar.bz2
mate-applets-18b437378c338287fec39b2e8f2ec2baf04f8cd1.tar.xz
stickynotes: migrate to gsettings
Diffstat (limited to 'stickynotes/stickynotes_applet.h')
-rw-r--r--stickynotes/stickynotes_applet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stickynotes/stickynotes_applet.h b/stickynotes/stickynotes_applet.h
index 4c66dd92..a4eb0cfa 100644
--- a/stickynotes/stickynotes_applet.h
+++ b/stickynotes/stickynotes_applet.h
@@ -24,11 +24,11 @@
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
+#include <gio/gio.h>
#include <mate-panel-applet.h>
-#include <mateconf/mateconf-client.h>
-#define MATECONF_PATH "/apps/stickynotes_applet"
+#define STICKYNOTES_SCHEMA "org.mate.stickynotes"
#define BUILDER_PATH GTK_BUILDERDIR "/stickynotes.ui"
#define ICON_PATH STICKYNOTES_ICONDIR
@@ -61,7 +61,7 @@ typedef struct
GdkPixbuf *icon_normal; /* Normal applet icon */
GdkPixbuf *icon_prelight; /* Prelighted applet icon */
- MateConfClient *mateconf; /* MateConf Client */
+ GSettings *settings; /* Shared GSettings */
gint max_height;
guint last_timeout_data;