aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c5
1 files changed, 2 insertions, 3 deletions
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);
}