aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r--shell/e-shell-window-private.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 6ee997ddef..2cf24ba061 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -359,56 +359,56 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
action_group = ACTION_GROUP (LOCKDOWN_PRINTING);
e_binding_new_with_negation (
- G_OBJECT (shell_settings), "disable-printing",
- G_OBJECT (action_group), "sensitive");
+ shell_settings, "disable-printing",
+ action_group, "sensitive");
action_group = ACTION_GROUP (LOCKDOWN_PRINT_SETUP);
e_binding_new_with_negation (
- G_OBJECT (shell_settings), "disable-print-setup",
- G_OBJECT (action_group), "sensitive");
+ shell_settings, "disable-print-setup",
+ action_group, "sensitive");
action_group = ACTION_GROUP (LOCKDOWN_SAVE_TO_DISK);
e_binding_new_with_negation (
- G_OBJECT (shell_settings), "disable-save-to-disk",
- G_OBJECT (action_group), "sensitive");
+ shell_settings, "disable-save-to-disk",
+ action_group, "sensitive");
/* Bind GObject properties to GObject properties. */
action = ACTION (SEND_RECEIVE);
e_binding_new (
- G_OBJECT (shell), "online",
- G_OBJECT (action), "sensitive");
+ shell, "online",
+ action, "sensitive");
action = ACTION (WORK_OFFLINE);
e_binding_new (
- G_OBJECT (shell), "online",
- G_OBJECT (action), "visible");
+ shell, "online",
+ action, "visible");
e_binding_new (
- G_OBJECT (shell), "network-available",
- G_OBJECT (action), "sensitive");
+ shell, "network-available",
+ action, "sensitive");
action = ACTION (WORK_ONLINE);
e_binding_new_with_negation (
- G_OBJECT (shell), "online",
- G_OBJECT (action), "visible");
+ shell, "online",
+ action, "visible");
e_binding_new (
- G_OBJECT (shell), "network-available",
- G_OBJECT (action), "sensitive");
+ shell, "network-available",
+ action, "sensitive");
e_binding_new (
- G_OBJECT (shell), "online",
- G_OBJECT (priv->online_button), "online");
+ shell, "online",
+ priv->online_button, "online");
e_binding_new (
- G_OBJECT (shell), "network-available",
- G_OBJECT (priv->online_button), "sensitive");
+ shell, "network-available",
+ priv->online_button, "sensitive");
/* Bind GObject properties to GConf keys. */