aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-25 21:41:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-25 21:54:55 +0800
commit3e1b34841d3a699f77848f5de019f18ccb2d1ca1 (patch)
tree9e13e7a220a5525681a0516b32bbd9def5611e8d /plugins
parentf49077cfb57ade9013674487a1f371da7c038709 (diff)
downloadgsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.gz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.bz2
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.lz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.xz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.zst
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.zip
Fix compiler warnings.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/startup-wizard/startup-wizard.c10
1 files changed, 6 insertions, 4 deletions
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);