[gtk/4.0-backports: 9/53] searchbar: Fix documentation mishap




commit 295454d1bd5575badef0ccdf6a1e886f33682d88
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 25 22:15:56 2021 -0500

    searchbar: Fix documentation mishap
    
    The css section was inserted between the example
    and the sentence referring to it.

 gtk/gtksearchbar.c | 8 ++++----
 1 file 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]