[gtk/matthiasc/for-master] docs: Fix various link formatting



commit f023695f3116c09033c1bc5bd378761867fcc9b3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 3 23:11:48 2021 -0400

    docs: Fix various link formatting
    
    Make links that gi-docgen can undestand.
    
    Fixes: #3975

 gtk/gtkcellview.c |  4 ++--
 gtk/gtkiconview.c | 12 ++++++------
 gtk/gtktreeview.c |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 29a8b3119e..78866addda 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -895,8 +895,8 @@ gtk_cell_view_new_with_text (const char *text)
  * @markup: the text to display in the cell view
  *
  * Creates a new `GtkCellView` widget, adds a `GtkCellRendererText`
- * to it, and makes it show @markup. The text can be
- * marked up with the [Pango text markup language][PangoMarkupFormat].
+ * to it, and makes it show @markup. The text can be marked up with
+ * the [Pango text markup language](https://docs.gtk.org/Pango/pango_markup.html).
  *
  * Returns: A newly created `GtkCellView` widget.
  */
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index ac4589f12a..57a7732993 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -641,7 +641,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * GtkIconView::select-all:
    * @iconview: the object on which the signal is emitted
    *
-   * A [keybinding signal][GtkSignalAction]
+   * A [keybinding signal][class.Gtk.SignalAction]
    * which gets emitted when the user selects all items.
    *
    * Applications should not connect to it, but may emit it with
@@ -663,7 +663,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * GtkIconView::unselect-all:
    * @iconview: the object on which the signal is emitted
    *
-   * A [keybinding signal][GtkSignalAction]
+   * A [keybinding signal][class@Gtk.SignalAction]
    * which gets emitted when the user unselects all items.
    *
    * Applications should not connect to it, but may emit it with
@@ -685,7 +685,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * GtkIconView::select-cursor-item:
    * @iconview: the object on which the signal is emitted
    *
-   * A [keybinding signal][GtkSignalAction]
+   * A [keybinding signal][class@Gtk.SignalAction]
    * which gets emitted when the user selects the item that is currently
    * focused.
    *
@@ -708,7 +708,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * GtkIconView::toggle-cursor-item:
    * @iconview: the object on which the signal is emitted
    *
-   * A [keybinding signal][GtkSignalAction]
+   * A [keybinding signal][class@Gtk.SignalAction]
    * which gets emitted when the user toggles whether the currently
    * focused item is selected or not. The exact effect of this 
    * depend on the selection mode.
@@ -732,7 +732,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * GtkIconView::activate-cursor-item:
    * @iconview: the object on which the signal is emitted
    *
-   * A [keybinding signal][GtkSignalAction]
+   * A [keybinding signal][class@Gtk.SignalAction]
    * which gets emitted when the user activates the currently 
    * focused item. 
    *
@@ -763,7 +763,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    * @modify: whether to modify the selection
    *
    * The ::move-cursor signal is a
-   * [keybinding signal][GtkSignalAction]
+   * [keybinding signal][class@Gtk.SignalAction]
    * which gets emitted when the user initiates a cursor movement.
    *
    * Applications should not connect to it, but may emit it with
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 0895756234..7653974d18 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -1336,7 +1336,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * @modify: whether to modify the selection
    *
    * The `GtkTreeView`::move-cursor signal is a [keybinding
-   * signal][GtkSignalAction] which gets emitted when the user
+   * signal][class@Gtk.SignalAction] which gets emitted when the user
    * presses one of the cursor keys.
    *
    * Applications should not connect to it, but may emit it with


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