diff options
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-view.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 563a1399dd..9e564517b3 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-05-29 Federico Mena Quintero <federico@ximian.com> + + * e-shell-view.c (setup_progress_bar): Added missing castt. + (setup_offline_toggle): Likewise. + 2001-05-29 JP Rosevear <jpr@ximian.com> * e-shell-view.c (setup_progress_bar): unref the control when 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 |