[libadwaita] docs: Fix examples



commit eb1881a54a3109f38f76d0f82bf95e8a64c8079d
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Wed Dec 1 10:45:48 2021 +0530

    docs: Fix examples

 src/adw-view-switcher-bar.c   | 2 +-
 src/adw-view-switcher-title.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-view-switcher-bar.c b/src/adw-view-switcher-bar.c
index ea8e7886..dd57183e 100644
--- a/src/adw-view-switcher-bar.c
+++ b/src/adw-view-switcher-bar.c
@@ -29,7 +29,7 @@
  * An example of the UI definition for a common use case:
  *
  * ```xml
- * <object class="GtkWindow"/>
+ * <object class="GtkWindow">
  *   <child type="titlebar">
  *     <object class="AdwHeaderBar">
  *       <property name="centering-policy">strict</property>
diff --git a/src/adw-view-switcher-title.c b/src/adw-view-switcher-title.c
index a74cf896..f1f9ff3e 100644
--- a/src/adw-view-switcher-title.c
+++ b/src/adw-view-switcher-title.c
@@ -32,7 +32,7 @@
  * An example of the UI definition for a common use case:
  *
  * ```xml
- * <object class="GtkWindow"/>
+ * <object class="GtkWindow">
  *   <child type="titlebar">
  *     <object class="AdwHeaderBar">
  *       <property name="centering-policy">strict</property>


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