Add flatpak'
This commit is contained in:
parent
2846db3f0b
commit
5a3116a9c6
12
test.sh
Normal file
12
test.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
GList *some_list, *l;
|
||||||
|
|
||||||
|
some_list = g_app_info_get_all(); /*This is where the GList function goes
|
||||||
|
|
||||||
|
for (l = some_list; l != NULL; l = l->next)
|
||||||
|
{
|
||||||
|
gpointer element_data = l->data;
|
||||||
|
printf("%s\n", g_app_info_get_display_name(element_data)); /*print out all of the display names of the .desktop files */
|
||||||
|
}
|
||||||
|
return 0;
|
Loading…
Reference in a new issue