[evolution/wip/gsettings] Add missing argument to g_settings_bind
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Add missing argument to g_settings_bind
- Date: Wed, 21 Sep 2011 16:18:51 +0000 (UTC)
commit 1684805a0f3ef063b49098ec3a4a47a59b4d244d
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Wed Sep 21 18:12:01 2011 +0200
Add missing argument to g_settings_bind
calendar/gui/dialogs/comp-editor.c | 12 ++++++------
modules/calendar/e-cal-shell-sidebar.c | 2 +-
modules/calendar/e-memo-shell-view-actions.c | 4 ++--
modules/calendar/e-task-shell-view-actions.c | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 75a4766..eaf779d 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1644,22 +1644,22 @@ comp_editor_bind_settings (CompEditor *editor)
g_return_if_fail (editor != NULL);
action = comp_editor_get_action (editor, "view-categories");
- g_settings_bind (priv->calendar_settings, "editor-show-categories", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-categories", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
action = comp_editor_get_action (editor, "view-role");
- g_settings_bind (priv->calendar_settings, "editor-show-role", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-role", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
action = comp_editor_get_action (editor, "view-rsvp");
- g_settings_bind (priv->calendar_settings, "editor-show-rsvp", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-rsvp", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
action = comp_editor_get_action (editor, "view-status");
- g_settings_bind (priv->calendar_settings, "editor-show-status", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-status", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
action = comp_editor_get_action (editor, "view-time-zone");
- g_settings_bind (priv->calendar_settings, "editor-show-timezone", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-timezone", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
action = comp_editor_get_action (editor, "view-type");
- g_settings_bind (priv->calendar_settings, "editor-show-type", G_OBJECT (action), "active");
+ g_settings_bind (priv->calendar_settings, "editor-show-type", G_OBJECT (action), "active", G_SETTINGS_BIND_DEFAULT);
}
static gboolean
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index ac93263..f896db6 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -589,7 +589,7 @@ cal_shell_sidebar_restore_state_cb (EShellWindow *shell_window,
settings = g_settings_new ("org.gnome.evolution.calendar");
object = G_OBJECT (priv->paned);
- g_settings_bind (settings, "date-navigator-pane-position", object, "vposition");
+ g_settings_bind (settings, "date-navigator-pane-position", object, "vposition", G_SETTINGS_BIND_DEFAULT);
g_object_unref (G_OBJECT (settings));
}
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index c780729..c832066 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -927,10 +927,10 @@ e_memo_shell_view_actions_init (EMemoShellView *memo_shell_view)
memo_settings = g_settings_new ("org.gnome.evolution.calendar");
object = G_OBJECT (ACTION (MEMO_PREVIEW));
- g_settings_bind (memo_settings, "show-memo-preview", object, "active");
+ g_settings_bind (memo_settings, "show-memo-preview", object, "active", G_SETTINGS_BIND_DEFAULT);
object = G_OBJECT (ACTION (MEMO_VIEW_VERTICAL));
- g_settings_bind (memo_settings, "memo-layout", object, "current-value");
+ g_settings_bind (memo_settings, "memo-layout", object, "current-value", G_SETTINGS_BIND_DEFAULT);
g_object_unref (G_OBJECT (memo_settings));
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index beb8173..ad980ea 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -1126,10 +1126,10 @@ e_task_shell_view_actions_init (ETaskShellView *task_shell_view)
settings = g_settings_new ("org.gnome.evolution.calendar");
object = G_OBJECT (ACTION (TASK_PREVIEW));
- g_settings_bind (settings, "show-task-preview", object, "active");
+ g_settings_bind (settings, "show-task-preview", object, "active", G_SETTINGS_BIND_DEFAULT);
object = G_OBJECT (ACTION (TASK_VIEW_VERTICAL));
- g_settings_bind (settings, "task-layout", "current-value");
+ g_settings_bind (settings, "task-layout", "current-value", G_SETTINGS_BIND_DEFAULT);
g_object_unref (G_OBJECT (settings));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]