diff options
author | Iain Lane <iain@orangesquash.org.uk> | 2019-02-15 13:35:36 +0000 |
---|---|---|
committer | Iain Lane <iain@orangesquash.org.uk> | 2019-02-15 13:35:36 +0000 |
commit | d3277ac3316da276f49c1c342cfdb738aca535b7 (patch) | |
tree | d4e902668a209e606bf88a9406a83a5a36fa31c0 | |
parent | 3f71a3b3baa8912edf9df86b0dfe1733095402a0 (diff) | |
parent | 9862ab85e8ea3c9d51b05de8a1d2e9a564b764ea (diff) | |
download | libnotify-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.c | 2 |
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) { |