summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Lane <iain@orangesquash.org.uk>2019-02-15 13:35:36 +0000
committerIain Lane <iain@orangesquash.org.uk>2019-02-15 13:35:36 +0000
commitd3277ac3316da276f49c1c342cfdb738aca535b7 (patch)
treed4e902668a209e606bf88a9406a83a5a36fa31c0
parent3f71a3b3baa8912edf9df86b0dfe1733095402a0 (diff)
parent9862ab85e8ea3c9d51b05de8a1d2e9a564b764ea (diff)
downloadlibnotify-d3277ac3316da276f49c1c342cfdb738aca535b7.tar.gz
Merge branch 'notify-send-support-file-proto' into 'master'
notify-send: allow passing colon as hint value See merge request GNOME/libnotify!4
-rw-r--r--tools/notify-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c
index abfffe6..67e0b03 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -246,7 +246,7 @@ main (int argc, char *argv[])
char **tokens = NULL;
while ((hint = hints[i++])) {
- tokens = g_strsplit (hint, ":", -1);
+ tokens = g_strsplit (hint, ":", 3);
l = g_strv_length (tokens);
if (l != 3) {