~3v1n0/indicator-appmenu/per-window-showmenu+leak-fix

« back to all changes in this revision

Viewing changes to src/indicator-appmenu.c

  • Committer: Marco Trevisan (Treviño)
  • Date: 2015-01-29 15:09:16 UTC
  • Revision ID: mail@3v1n0.net-20150129150916-nbspk7193zubcv0m
IndicatorAppmenu: style fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
689
689
        GList* entries = NULL;
690
690
 
691
691
        if (iapp->mode == MODE_UNITY_ALL_MENUS) {
692
 
                g_hash_table_iter_init (&iter, iapp->apps);
693
 
                while (g_hash_table_iter_next (&iter, NULL, &value)) {
694
 
                        GList *app_entries = window_menu_get_entries (WINDOW_MENU (value));
695
 
                        entries = g_list_concat (app_entries, entries);
 
692
                g_hash_table_iter_init(&iter, iapp->apps);
 
693
                while (g_hash_table_iter_next(&iter, NULL, &value)) {
 
694
                        GList *app_entries = window_menu_get_entries(WINDOW_MENU (value));
 
695
                        entries = g_list_concat(app_entries, entries);
696
696
                }
697
697
 
698
698
                return entries;