aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-migrate.c1
-rw-r--r--shell/e-shell-settings.c1
-rw-r--r--shell/e-shell.c5
3 files changed, 2 insertions, 5 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index 1931011516..b0fa40d146 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -901,7 +901,6 @@ e_shell_migrate_attempt (EShell *shell)
ESEvent *ese;
GSettings *settings;
GConfClient *client;
- const gchar *key;
gint major, minor, micro;
gint last_major, last_minor, last_micro;
gint curr_major, curr_minor, curr_micro;
diff --git a/shell/e-shell-settings.c b/shell/e-shell-settings.c
index 5bffa8d026..0fd8d105e1 100644
--- a/shell/e-shell-settings.c
+++ b/shell/e-shell-settings.c
@@ -49,7 +49,6 @@ shell_settings_pspec_for_key (const gchar *property_name,
GVariant *v;
GParamSpec *pspec;
const gchar *bad_type;
- GError *error = NULL;
settings = g_settings_new (schema);
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);
}