aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-22 23:04:27 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:19 +0800
commit9a2cffb0570bbde009ef45ae19c00059a9804e02 (patch)
tree5c04da6305e1aef66921295d9c318d9a577f19dd /shell/e-shell-utils.c
parentdf724f165213ea60a5a8dd45c3e7b6ca829d4dac (diff)
downloadgsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar.gz
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar.bz2
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar.lz
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar.xz
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.tar.zst
gsoc2013-evolution-9a2cffb0570bbde009ef45ae19c00059a9804e02.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.c4
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);
}
/**