(parse_default_uri): Remove bogus is_default check.

svn path=/trunk/; revision=19406
This commit is contained in:
Ettore Perazzoli
2003-01-10 18:18:25 +00:00
parent eecdb4064d
commit 794ff9b527
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-01-10 Ettore Perazzoli <ettore@ximian.com>
* e-shell.c (parse_default_uri): Remove bogus is_default check.
2003-01-10 Ettore Perazzoli <ettore@ximian.com>
* e-setup.c (set_default_folder_physical_uri_from_path): New

View File

@ -2175,7 +2175,6 @@ parse_default_uri (EShell *shell,
const char *p;
char *config_path;
char *path;
gboolean is_default;
component_start = uri + E_SHELL_DEFAULTURI_PREFIX_LEN;
p = strchr (uri, '#');
@ -2193,7 +2192,7 @@ parse_default_uri (EShell *shell,
/* We expect an evolution: URI here, if we don't get it then something
is messed up. */
if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) {
if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0) {
g_free (path);
if (path_return != NULL)
*path_return = NULL;