diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-18 22:58:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 03:34:11 +0800 |
commit | c75f58d01bb7bbe139cd73a85894dc5f50185816 (patch) | |
tree | a7ed07daa233b004c1ee8a6a39839a8a2d39b597 /shell | |
parent | 03c039c098314b94767a2ec81b73c40fb4cbc168 (diff) | |
download | gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.gz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.bz2 gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.lz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.xz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.zst gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.zip |
Fix compiler warnings.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-migrate.c | 1 | ||||
-rw-r--r-- | shell/e-shell-settings.c | 1 | ||||
-rw-r--r-- | shell/e-shell.c | 5 |
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); } |