Verbiage Change

This commit is contained in:
Emmanuele Bassi 2023-02-27 16:32:35 +00:00 committed by Bobby Neal
parent f11d647aa4
commit cd10e5dd1a

View File

@ -66,8 +66,10 @@ You can compile the program above with GCC using:
gcc $( pkg-config --cflags gtk4 ) -o example-0 example-0.c $( pkg-config --libs gtk4 ) 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. **Note**: If the above compilation does not work due to an error regarding `G_APPLICATION_DEFAULT_FLAGS`
this could be due to your OS providing an older version of GLib. For GLib versions older than 2.74 you
will need to replace `G_APPLICATION_DEFAULT_FLAGS` with `G_APPLICATION_FLAGS_NONE` in this example, and
others in this documentation.
For more information on how to compile a GTK application, please For more information on how to compile a GTK application, please
refer to the [Compiling GTK Applications](compiling.html) refer to the [Compiling GTK Applications](compiling.html)
section in this reference. section in this reference.