[gtk/ebassi/gidocgen: 364/500] styleprovider: Convert docs




commit 42aa2edf19f60a03a015f78545fdc0b40141526f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 28 13:12:59 2021 -0500

    styleprovider: Convert docs

 gtk/gtkstyleprovider.c | 16 ++++++++++------
 gtk/gtkstyleprovider.h |  4 ++--
 2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkstyleprovider.c b/gtk/gtkstyleprovider.c
index 4bcd241054..1c404ad368 100644
--- a/gtk/gtkstyleprovider.c
+++ b/gtk/gtkstyleprovider.c
@@ -23,13 +23,17 @@
 #include "gtkprivate.h"
 
 /**
- * SECTION:gtkstyleprovider
- * @Short_description: Interface to provide style information to GtkStyleContext
- * @Title: GtkStyleProvider
- * @See_also: #GtkStyleContext, #GtkCssProvider
+ * GtkStyleProvider:
  *
- * GtkStyleProvider is an interface used to provide style information to a #GtkStyleContext.
- * See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_display().
+ * `GtkStyleProvider` is an interface for style information used by
+ * `GtkStyleContext`.
+ *
+ * See [method@Gtk.StyleContext.add_provider] and
+ * [func@Gtk.StyleContext.add_provider_for_display] for
+ * adding `GtkStyleProviders`.
+ *
+ * GTK uses the `GtkStyleProvider` implementation for CSS in
+ * [iface@Gtk.CssProvider].
  */
 
 enum {
diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h
index a0da759bd2..64abae73a3 100644
--- a/gtk/gtkstyleprovider.h
+++ b/gtk/gtkstyleprovider.h
@@ -57,7 +57,7 @@ G_BEGIN_DECLS
  * GTK_STYLE_PROVIDER_PRIORITY_SETTINGS:
  *
  * The priority used for style information provided
- * via #GtkSettings.
+ * via `GtkSettings`.
  *
  * This priority is higher than #GTK_STYLE_PROVIDER_PRIORITY_THEME
  * to let settings override themes.
@@ -67,7 +67,7 @@ G_BEGIN_DECLS
 /**
  * GTK_STYLE_PROVIDER_PRIORITY_APPLICATION:
  *
- * A priority that can be used when adding a #GtkStyleProvider
+ * A priority that can be used when adding a `GtkStyleProvider`
  * for application-specific style information.
  */
 #define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600


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