Merge branch 'notify-send-support-file-proto' into 'master'
notify-send: allow passing colon as hint value See merge request GNOME/libnotify!4
This commit is contained in:
commit
d3277ac331
|
@ -246,7 +246,7 @@ main (int argc, char *argv[])
|
||||||
char **tokens = NULL;
|
char **tokens = NULL;
|
||||||
|
|
||||||
while ((hint = hints[i++])) {
|
while ((hint = hints[i++])) {
|
||||||
tokens = g_strsplit (hint, ":", -1);
|
tokens = g_strsplit (hint, ":", 3);
|
||||||
l = g_strv_length (tokens);
|
l = g_strv_length (tokens);
|
||||||
|
|
||||||
if (l != 3) {
|
if (l != 3) {
|
||||||
|
|
Loading…
Reference in New Issue