diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-24 18:24:52 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-24 18:24:52 +0100 |
commit | 18b437378c338287fec39b2e8f2ec2baf04f8cd1 (patch) | |
tree | dfb4cdf4f5fb26db055d5db3eef5a9fd7e616104 /stickynotes/stickynotes_applet.h | |
parent | 167eb3ed1e82658e6ea969a8c5ffd220256cfd11 (diff) | |
download | mate-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.h | 6 |
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; |