From f11d647aa43d08a158567ad4c3a2b5bd6e480fb4 Mon Sep 17 00:00:00 2001 From: Bobby Neal Date: Sun, 26 Feb 2023 17:04:17 +0000 Subject: [PATCH] Update docs/reference/gtk/getting_started.md --- docs/reference/gtk/getting_started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md index 656683516c..483a5dd494 100644 --- a/docs/reference/gtk/getting_started.md +++ b/docs/reference/gtk/getting_started.md @@ -66,6 +66,8 @@ You can compile the program above with GCC using: gcc $( pkg-config --cflags gtk4 ) -o example-0 example-0.c $( pkg-config --libs gtk4 ) ``` +If the above compilation does not work due to an error regarding "G_APPLICATION_DEFAULT_FLAGS" this could be due to a recent change in GLib/GIO. If your distribution is using a slightly older version you will want to replace this with G_APPLICATION_FLAGS_NONE for this example and others in this documentation. + For more information on how to compile a GTK application, please refer to the [Compiling GTK Applications](compiling.html) section in this reference. -- 2.30.2