From c75f58d01bb7bbe139cd73a85894dc5f50185816 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 18 Nov 2011 09:58:44 -0500 Subject: Fix compiler warnings. --- shell/e-shell.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 267c837c3a..ccc57f825c 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1432,11 +1432,10 @@ e_shell_create_shell_window (EShell *shell, * so set the key ahead of time to control the intial view. */ if (view_name != NULL) { GSettings *settings; - const gchar *key; settings = g_settings_new ("org.gnome.evolution.shell"); - g_settings_set_string (settings, "default-component-id", view_name); - + g_settings_set_string ( + settings, "default-component-id", view_name); g_object_unref (settings); } -- cgit v1.2.3