diff options
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 8da4b53dc9..aa9abc01b7 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -643,8 +643,8 @@ setup_offline_toggle (EShellView *shell_view) bonobo_ui_component_object_set (priv->ui_component, "/status/OfflineToggle", BONOBO_OBJREF (control), NULL); - bonobo_object_unref (control); - + bonobo_object_unref (BONOBO_OBJECT (control)); + priv->offline_toggle = toggle; priv->offline_toggle_pixmap = pixmap; @@ -674,7 +674,7 @@ setup_progress_bar (EShellView *shell_view) bonobo_ui_component_object_set (priv->ui_component, "/status/Progress", BONOBO_OBJREF (control), NULL); - bonobo_object_unref (control); + bonobo_object_unref (BONOBO_OBJECT (control)); } static void |