From 3e52de8a09e28a445b573d4945c917db3cc3b1ba Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Wed, 13 Dec 2023 09:30:00 +0100 Subject: [PATCH] WIP: simplifications dans builddir/demos/gtk-demo/demos.h --- demos/gtk-demo/main.c | 3 ++- demos/gtk-demo/tree_store.c | 15 +++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c index fb4d6bb..30d83de 100644 --- a/demos/gtk-demo/main.c +++ b/demos/gtk-demo/main.c @@ -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; } diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index d37389a..0900076 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -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 #include @@ -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; };