summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-window.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-25 13:41:13 -0800
committerStefano Karapetsas <[email protected]>2013-01-25 13:41:13 -0800
commitbbf4c3447a09a5e4be8307e3df3b3405781bead2 (patch)
treebc924a2c5961e629a55bd046765bc7c45e2b5ad0 /mate-dictionary/src/gdict-window.h
parent3f783bbd74e1f94e97f91829480b32b05b6480c8 (diff)
parentcc8a689bdeb46b3c9fe8247a72b05c8d97762474 (diff)
downloadmate-utils-bbf4c3447a09a5e4be8307e3df3b3405781bead2.tar.bz2
mate-utils-bbf4c3447a09a5e4be8307e3df3b3405781bead2.tar.xz
Merge pull request #18 from bhull2010/master
Port mate-dictionary to Gsettings
Diffstat (limited to 'mate-dictionary/src/gdict-window.h')
-rw-r--r--mate-dictionary/src/gdict-window.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/mate-dictionary/src/gdict-window.h b/mate-dictionary/src/gdict-window.h
index ee68d6a2..f2353e92 100644
--- a/mate-dictionary/src/gdict-window.h
+++ b/mate-dictionary/src/gdict-window.h
@@ -23,9 +23,9 @@
#ifndef __GDICT_WINDOW_H__
#define __GDICT_WINDOW_H__
+#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
-#include <mateconf/mateconf-client.h>
#include <libgdict/gdict.h>
G_BEGIN_DECLS
@@ -94,20 +94,24 @@ struct _GdictWindow
gchar *strategy;
gchar *print_font;
gchar *defbox_font;
-
- MateConfClient *mateconf_client;
- guint notify_id;
- guint font_notify_id;
+
+ GSettings *settings;
+ GSettings *desktop_settings;
GdkCursor *busy_cursor;
gint default_width;
gint default_height;
+ gint current_width;
+ gint current_height;
gint sidebar_width;
-
+
+ gchar *sidebar_page;
+
guint is_maximized : 1;
guint sidebar_visible : 1;
guint statusbar_visible : 1;
+ guint in_construction : 1;
gulong window_id;
};