WIP: simplifications dans builddir/demos/gtk-demo/demos.h

This commit is contained in:
Jean Sirmai 2023-12-13 09:30:00 +01:00
parent db225bd732
commit 3e52de8a09
Signed by: jean
GPG Key ID: FB3115C340E057E3
2 changed files with 7 additions and 11 deletions

View File

@ -1147,7 +1147,8 @@ main (int argc, char **argv)
g_application_run (G_APPLICATION (app), argc, argv);
printf(" (line 1132 in demos/gtk-demo/main.c) >> [env] $ clear && meson compile && demos/gtk-demo/gtk4-demo\n");
printf(" (line 1150 in demos/gtk-demo/main.c)\
>> [env] $ clear && meson compile && demos/gtk-demo/gtk4-demo\n");
return 0;
}

View File

@ -15,15 +15,10 @@
/* Tree View/Tree Store
*
* The GtkTreeStore is used to store data in tree form, to be
* used later on by a GtkTreeView to display it. This demo builds
* a simple GtkTreeStore and displays it. If you're new to the
* GtkTreeView widgets and associates, look into the GtkListStore
* example first.
*
*/
/* The GtkTreeStore is used to store data in tree form, to be used later on by a GtkTreeView to display it.
* This demo builds a simple GtkTreeStore and displays it.
* If you're new to the GtkTreeView widgets and associates, look into the GtkListStore example first. */
#include <gtk/gtk.h>
#include <stdio.h>
@ -41,7 +36,7 @@ struct _TreeItem
gboolean tim;
gboolean owen;
gboolean dave;
gboolean world_holiday; /* shared by the European hackers */
gboolean world_holiday;
TreeItem *children;
};