[gnome-shell/gnome-3-16] shell: Fix C99'ism
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-16] shell: Fix C99'ism
- Date: Fri, 31 Jul 2015 18:27:28 +0000 (UTC)
commit d14548eb01adccdd6e8b0f95f3dd3c28a23f2f5f
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jul 31 20:25:27 2015 +0200
shell: Fix C99'ism
src/shell-app-system.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 77878e9..3772e64 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -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';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]