Replace strarray_length with g_strv_length

This commit is contained in:
LemonBoy 2016-02-13 14:16:05 +01:00
commit 7a3c6fe86c
9 changed files with 7 additions and 23 deletions

View file

@ -178,7 +178,7 @@ static HILIGHT_REC *hilight_find(const char *text, char **channels)
if (channels == NULL || rec->channels == NULL)
continue; /* other doesn't have channels */
if (strarray_length(channels) != strarray_length(rec->channels))
if (g_strv_length(channels) != g_strv_length(rec->channels))
continue; /* different amount of channels */
/* check that channels match */