[gedit] Correctly bind the setting.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Correctly bind the setting.
- Date: Sun, 5 Sep 2010 21:51:59 +0000 (UTC)
commit 1cd3ba081a1ffa563c645374f70eeafbf1600ca5
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Sep 5 23:51:38 2010 +0200
Correctly bind the setting.
gedit/gedit-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 4eba9b7..65a3354 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -2114,9 +2114,9 @@ create_line_numbers_menu (GtkWidget *view)
gtk_source_view_get_show_line_numbers (GTK_SOURCE_VIEW (view)));
g_settings_bind (GEDIT_VIEW (view)->priv->editor_settings,
- "active",
- item,
GEDIT_SETTINGS_DISPLAY_LINE_NUMBERS,
+ item,
+ "active",
G_SETTINGS_BIND_SET);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]