[gedit] Update to latest gsettings api.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Update to latest gsettings api.
- Date: Wed, 23 Jun 2010 16:52:06 +0000 (UTC)
commit b1208b2cf4faa0fad5e984a0d85c8d603276cf07
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jun 23 18:51:09 2010 +0200
Update to latest gsettings api.
plugins/modelines/modeline-parser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/modelines/modeline-parser.c b/plugins/modelines/modeline-parser.c
index a56e7af..857d377 100644
--- a/plugins/modelines/modeline-parser.c
+++ b/plugins/modelines/modeline-parser.c
@@ -808,8 +808,8 @@ modeline_parser_apply_modeline (GtkSourceView *view)
{
GtkWrapMode mode;
- mode = gedit_settings_get_wrap_mode (settings,
- GEDIT_SETTINGS_WRAP_MODE);
+ mode = g_settings_get_enum (settings,
+ GEDIT_SETTINGS_WRAP_MODE);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (view), mode);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]