From 3e1b34841d3a699f77848f5de019f18ccb2d1ca1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 25 May 2010 09:41:48 -0400 Subject: Fix compiler warnings. --- plugins/startup-wizard/startup-wizard.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/startup-wizard') diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c index 97d2297480..77be99f80f 100644 --- a/plugins/startup-wizard/startup-wizard.c +++ b/plugins/startup-wizard/startup-wizard.c @@ -60,17 +60,19 @@ startup_wizard_close (void) { void startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target) { + EShell *shell; GtkWidget *start_page; GtkLabel *start_page_label; GConfClient *client; GSList *accounts; EConfig *config; EMAccountEditor *emae; - char *req_view; + const gchar *req_view; - req_view = e_shell_get_startup_view(e_shell_get_default()); + shell = e_shell_get_default (); + req_view = e_shell_get_startup_view (shell); - if (req_view && strcmp (req_view, "mail") && e_shell_get_express_mode(e_shell_get_default())) { + if (req_view && strcmp (req_view, "mail") && e_shell_get_express_mode (shell)) { return; } @@ -86,7 +88,7 @@ startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target) return; } - if (e_shell_get_express_mode (e_shell_get_default ())) { + if (e_shell_get_express_mode (shell)) { start_page = (GtkWidget *)mail_capplet_shell_new (0, TRUE, TRUE); gtk_widget_show (start_page); -- cgit v1.2.3