diff --git a/docs/reference/gtk/compiling.md b/docs/reference/gtk/compiling.md index f0351029fd..55e154bd17 100644 --- a/docs/reference/gtk/compiling.md +++ b/docs/reference/gtk/compiling.md @@ -37,7 +37,7 @@ this range will trigger compiler warnings. Here is how you would compile hello.c if you want to allow it to use symbols that were not deprecated in 4.2: ``` -$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4` +$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4` ``` And here is how you would compile hello.c if you don't want