[gedit/gnome-3-8] document: correctly bind properties
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-8] document: correctly bind properties
- Date: Sun, 21 Apr 2013 13:10:37 +0000 (UTC)
commit 7847492be9fe6f1ab301017598651af6d5469d22
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Apr 21 15:10:01 2013 +0200
document: correctly bind properties
gedit/gedit-document.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index fa24ad4..6855a89 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -981,17 +981,20 @@ gedit_document_init (GeditDocument *doc)
g_settings_bind (priv->editor_settings,
GEDIT_SETTINGS_MAX_UNDO_ACTIONS,
doc,
- "max-undo-levels");
+ "max-undo-levels",
+ G_SETTINGS_BIND_GET);
g_settings_bind (priv->editor_settings,
GEDIT_SETTINGS_BRACKET_MATCHING,
doc,
- "bracket-matching");
+ "highlight-matching-brackets",
+ G_SETTINGS_BIND_GET);
g_settings_bind (priv->editor_settings,
GEDIT_SETTINGS_SEARCH_HIGHLIGHTING,
doc,
- "enable-search-highlighting");
+ "enable-search-highlighting",
+ G_SETTINGS_BIND_GET);
style_scheme = get_default_style_scheme (priv->editor_settings);
if (style_scheme != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]