summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-25 22:15:56 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-25 22:15:56 -0500
commitb4e645862aed48f8df30de551fa5be9f46bb117f (patch)
treef82176d8db8a6af24ed80000214442c9af49f71a
parentea48506a32cab53602cfc2ee453e4f01681af3f0 (diff)
downloadgtk+-b4e645862aed48f8df30de551fa5be9f46bb117f.tar.gz
searchbar: Fix documentation mishap
The css section was inserted between the example and the sentence referring to it.
-rw-r--r--gtk/gtksearchbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c
index c1a23bf304..23c5fa5492 100644
--- a/gtk/gtksearchbar.c
+++ b/gtk/gtksearchbar.c
@@ -64,6 +64,10 @@
* The following example shows you how to create a more complex search
* entry.
*
+ * ## Creating a search bar
+ *
+ * [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/search-bar.c)
+ *
* # CSS nodes
*
* |[<!-- language="plain" -->
@@ -79,10 +83,6 @@
* CSS node of the child widget as well as an optional button node which gets the .close
* style class applied.
*
- * ## Creating a search bar
- *
- * [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/search-bar.c)
- *
* # Accessibility
*
* GtkSearchBar uses the %GTK_ACCESSIBLE_ROLE_SEARCH role.