From: andy5995 Date: Sat, 10 Dec 2022 23:37:47 +0000 (-0600) Subject: docs: Place example-{3,4} in numerical order X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~93^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9fd4b215ee6c576323a895b718b7522b44c1d3a6;p=gtk4.git docs: Place example-{3,4} in numerical order --- diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md index 079dec4068..5ff977c094 100644 --- a/docs/reference/gtk/getting_started.md +++ b/docs/reference/gtk/getting_started.md @@ -377,7 +377,7 @@ demonstrates input event handling with event controllers. ### Drawing in response to input -Create a new file with the following content named `example-4.c`. +Create a new file with the following content named `example-3.c`. ```c #include @@ -572,7 +572,7 @@ main (int argc, You can compile the program above with GCC using: ``` -gcc $( pkg-config --cflags gtk4 ) -o example-4 example-4.c $( pkg-config --libs gtk4 ) +gcc $( pkg-config --cflags gtk4 ) -o example-3 example-3.c $( pkg-config --libs gtk4 ) ``` ## Building user interfaces @@ -587,7 +587,7 @@ XML format that can be parsed by the [class@Gtk.Builder] class. ### Packing buttons with GtkBuilder -Create a new file with the following content named `example-3.c`. +Create a new file with the following content named `example-4.c`. ```c #include @@ -697,7 +697,7 @@ Create a new file with the following content named `builder.ui`. You can compile the program above with GCC using: ``` -gcc $( pkg-config --cflags gtk4 ) -o example-3 example-3.c $( pkg-config --libs gtk4 ) +gcc $( pkg-config --cflags gtk4 ) -o example-4 example-4.c $( pkg-config --libs gtk4 ) ``` Note that `GtkBuilder` can also be used to construct objects that are