mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
shell: Fix C99'ism
This commit is contained in:
parent
fed79ce4e6
commit
e92f43b83e
1 changed files with 3 additions and 2 deletions
|
|
@ -399,9 +399,10 @@ char ***
|
|||
shell_app_system_search (const char *search_string)
|
||||
{
|
||||
char ***results = g_desktop_app_info_search (search_string);
|
||||
char ***groups, **ids;
|
||||
|
||||
for (char ***groups = results; *groups; groups++)
|
||||
for (char **ids = *groups; *ids; ids++)
|
||||
for (groups = results; *groups; groups++)
|
||||
for (ids = *groups; *ids; ids++)
|
||||
if (!g_utf8_validate (*ids, -1, NULL))
|
||||
**ids = '\0';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue