From 9a2cffb0570bbde009ef45ae19c00059a9804e02 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 22 May 2011 11:04:27 -0400 Subject: 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. --- shell/e-shell-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-utils.c') 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); } /** -- cgit v1.2.3