From 8ebdd256a5a20352a655a3a4fc778246a752b575 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 27 May 2021 00:18:23 +0000 Subject: [PATCH] docs: fix broken links --- gdk/gdkapplaunchcontext.c | 2 +- gdk/gdkdrawcontext.c | 2 +- gdk/gdkseat.c | 2 +- gtk/gtkcolumnview.c | 2 +- gtk/gtkfilechooserdialog.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtkscrollbar.c | 2 +- gtk/gtktextbuffer.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c index 9c9e99d58e..f68a4c4d52 100644 --- a/gdk/gdkapplaunchcontext.c +++ b/gdk/gdkapplaunchcontext.c @@ -272,7 +272,7 @@ gdk_app_launch_context_set_icon (GdkAppLaunchContext *context, * Sets the icon for applications that are launched with this context. * * The @icon_name will be interpreted in the same way as the Icon field - * in desktop files. See also [method@Gdk.AppLaunchContext.set_icon()]. + * in desktop files. See also [method@Gdk.AppLaunchContext.set_icon]. * * If both @icon and @icon_name are set, the @icon_name takes priority. * If neither @icon or @icon_name is set, the icon is taken from either diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c index c1833468a8..d377c227a2 100644 --- a/gdk/gdkdrawcontext.c +++ b/gdk/gdkdrawcontext.c @@ -271,7 +271,7 @@ gdk_draw_context_get_surface (GdkDrawContext *context) * Note that the @region passed to this function is the minimum region that * needs to be drawn and depending on implementation, windowing system and * hardware in use, it might be necessary to draw a larger region. Drawing - * implementation must use [method@Gdk.DrawContext.get_frame_region() to + * implementation must use [method@Gdk.DrawContext.get_frame_region] to * query the region that must be drawn. * * When using GTK, the widget system automatically places calls to diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c index a03081b2a8..80abf8eeec 100644 --- a/gdk/gdkseat.c +++ b/gdk/gdkseat.c @@ -150,7 +150,7 @@ gdk_seat_class_init (GdkSeatClass *klass) * * The tool may later be assigned to a device (i.e. on * proximity with a tablet). The device will emit the - * [signalGdkDevice::tool-changed] signal accordingly. + * [signal@Gdk.Device::tool-changed] signal accordingly. * * A same tool may be used by several devices. */ diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c index 7aeb8a285a..f475707155 100644 --- a/gtk/gtkcolumnview.c +++ b/gtk/gtkcolumnview.c @@ -54,7 +54,7 @@ * this item. * * The [property@Gtk.ColumnView:show-row-separators] and - * [propertyGtk.ColumnView:show-column-separators] properties offer a simple way + * [property@Gtk.ColumnView:show-column-separators] properties offer a simple way * to display separators between the rows or columns. * * `GtkColumnView` allows the user to select items according to the selection diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 76f2d3e901..754aebc650 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -165,7 +165,7 @@ * - To choose a folder instead of a filem use %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER. * * In general, you should only cause the file chooser to show a specific - * folder when it is appropriate to use [method@Gtk,FileChooser.set_file], + * folder when it is appropriate to use [method@Gtk.FileChooser.set_file], * i.e. when you are doing a “Save As” command and you already have a file * saved somewhere. diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 75eab93529..48f363b3c1 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -3634,7 +3634,7 @@ gtk_label_set_markup (GtkLabel *self, * indicating that they represent a keyboard accelerator called a mnemonic. * * The mnemonic key can be used to activate another widget, chosen - * automatically, or explicitly using method@Gtk.Label.set_mnemonic_widget]. + * automatically, or explicitly using [method@Gtk.Label.set_mnemonic_widget]. */ void gtk_label_set_markup_with_mnemonic (GtkLabel *self, diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c index bdd6d21eab..50d8be5081 100644 --- a/gtk/gtkscrollbar.c +++ b/gtk/gtkscrollbar.c @@ -44,7 +44,7 @@ * ![An example GtkScrollbar](scrollbar.png) * * Its position and movement are controlled by the adjustment that is passed to - * or created by [ctor@Gtk.Scrollbar.new]. See [class.Gtk.Adjustment] for more + * or created by [ctor@Gtk.Scrollbar.new]. See [class@Gtk.Adjustment] for more * details. The [property@Gtk.Adjustment:value] field sets the position of the * thumb and must be between [property@Gtk.Adjustment:lower] and * [property@Gtk.Adjustment:upper] - [property@Gtk.Adjustment:page-size]. diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 473e3e3deb..5d550e5372 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -561,7 +561,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) * revalidate it). The default signal handler revalidates * it to point to the end of the inserted text. * - * See also: [method@Gtk,TextBuffer.insert], + * See also: [method@Gtk.TextBuffer.insert], * [method@Gtk.TextBuffer.insert_range]. */ signals[INSERT_TEXT] =