From 48ef648a2e06d32439c1e732fbb3dd28fedb0a30 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 14 May 2002 04:23:27 +0000 Subject: Pass self to e_shell_offline_handler_new() instead of the component * e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779 --- shell/e-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 73734c346d..ff227dbb23 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1921,7 +1921,7 @@ e_shell_go_offline (EShell *shell, g_assert (priv->offline_handler == NULL); - priv->offline_handler = e_shell_offline_handler_new (priv->component_registry); + priv->offline_handler = e_shell_offline_handler_new (shell); gtk_signal_connect (GTK_OBJECT (priv->offline_handler), "offline_procedure_started", GTK_SIGNAL_FUNC (offline_procedure_started_cb), shell); -- cgit