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
committerMatthew Barnes <mbarnes@redhat.com>2011-05-23 00:40:31 +0800
commitcec324e80ae88463e97e79ce16806127b512f931 (patch)
treef48fc49f1b22f2b216a3483cbdd6661819b3d7f3 /shell/e-shell-utils.c
parentb3f707bb6783c950b0819aa4432b69a61236d23e (diff)
downloadgsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar
gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.gz
gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.bz2
gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.lz
gsoc2013-evolution-cec324e80ae88463e97e79ce16806127b512f931.tar.xz
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.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);
}
/**