diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-22 23:04:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-23 00:40:31 +0800 |
commit | cec324e80ae88463e97e79ce16806127b512f931 (patch) | |
tree | f48fc49f1b22f2b216a3483cbdd6661819b3d7f3 /shell/e-shell-utils.c | |
parent | b3f707bb6783c950b0819aa4432b69a61236d23e (diff) | |
download | gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.gz gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.zst gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.zip |
Bug 650491 - Shell handles forwarding uris to existing process wrong
This adds a "handle-uris" GAction which takes a string array argument,
so the URIs can be passed to the primary process verbatim.
Diffstat (limited to 'shell/e-shell-utils.c')
-rw-r--r-- | shell/e-shell-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c index 4676a2d2e9..43ddd0562c 100644 --- a/shell/e-shell-utils.c +++ b/shell/e-shell-utils.c @@ -282,7 +282,7 @@ exit: **/ guint e_shell_utils_import_uris (EShell *shell, - gchar **uris) + const gchar * const *uris) { GtkWindow *parent; GtkWidget *assistant; @@ -308,7 +308,7 @@ e_shell_utils_import_uris (EShell *shell, } else g_warning ("Cannot import any of the given URIs"); - return g_strv_length (uris); + return g_strv_length ((gchar **) uris); } /** |