summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-02 11:09:28 -0500
committerEmmanuele Bassi <ebassi@gnome.org>2021-03-11 16:37:38 +0000
commite9304338003337c195b7a11ad4dd6fc67bccd9cd (patch)
treeaaae04521c60a52247bf0dbb12f084f4896797c4
parenta6b2994f8ba2783b2664a0a3f60cf53d96937a31 (diff)
downloadgtk+-e9304338003337c195b7a11ad4dd6fc67bccd9cd.tar.gz
label: Fix some external links
I had put in a bunch of [class@Pango.Attribute], but it needs to be [struct@Pango.Attribute]. Know your dependencies` type hierarchy!
-rw-r--r--gtk/gtklabel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 1daf370fcb..4cfa91a97d 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -92,7 +92,7 @@
* The GtkLabel implementation of the GtkBuildable interface supports a
* custom <attributes> element, which supports any number of <attribute>
* elements. The <attribute> element has attributes named “name“, “value“,
- * “start“ and “end“ and allows you to specify [class@Pango.Attribute]
+ * “start“ and “end“ and allows you to specify [struct@Pango.Attribute]
* values for this label.
*
* An example of a UI definition fragment specifying Pango attributes:
@@ -176,13 +176,13 @@
* [method@Gtk.Label.set_markup], you’ll want to escape it with
* g_markup_escape_text() or g_markup_printf_escaped().
*
- * Markup strings are just a convenient way to set the [class@Pango.AttrList]
+ * Markup strings are just a convenient way to set the [struct@Pango.AttrList]
* on a label; [method@Gtk.Label.set_attributes] may be a simpler way to set
- * attributes in some cases. Be careful though; [class@Pango.AttrList] tends
+ * attributes in some cases. Be careful though; [struct@Pango.AttrList] tends
* to cause internationalization problems, unless you’re applying attributes
* to the entire string (i.e. unless you set the range of each attribute
* to [0, %G_MAXINT)). The reason is that specifying the start_index and
- * end_index for a [class@Pango.Attribute] requires knowledge of the exact
+ * end_index for a [struct@Pango.Attribute] requires knowledge of the exact
* string being displayed, so translations will cause problems.
*
* # Selectable labels
@@ -3033,7 +3033,7 @@ gtk_label_set_text (GtkLabel *self,
/**
* gtk_label_set_attributes: (attributes org.gtk.Method.set_property=attributes)
* @self: a `GtkLabel`
- * @attrs: (nullable): a [class@Pango.AttrList], or %NULL
+ * @attrs: (nullable): a [struct@Pango.AttrList], or %NULL
*
* Apply attributes to the label text.
*
@@ -3072,7 +3072,7 @@ gtk_label_set_attributes (GtkLabel *self,
*
* Gets the labels attribute list.
*
- * This is the [class@Pango.AttrList] that was set on the label using
+ * This is the [struct@Pango.AttrList] that was set on the label using
* [method@Gtk.Label.set_attributes], if any. This function does not
* reflect attributes that come from the labels markup (see
* [method@Gtk.Label.set_markup]). If you want to get the effective