diff --git a/docs/reference/gtk/question_index.md b/docs/reference/gtk/question_index.md index c4c5f4e4c2..df053f46c2 100644 --- a/docs/reference/gtk/question_index.md +++ b/docs/reference/gtk/question_index.md @@ -380,7 +380,7 @@ the question you have, this list is a good place to start. } in a CSS file, loading it with [method@Gtk.CssProvider.load_from_file], and - adding the provider with [type_func@Gtk.StyleContext.add_provider_for_display]. + adding the provider with [func@Gtk.StyleContext.add_provider_for_display]. To associate this style information with your widget, set a style class on the widget using [method@Gtk.Widget.add_css_class]. The advantage of this approach is that users can then override the font you have chosen. diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index c81132e6e8..0baa6f9b68 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -62,7 +62,7 @@ * [method@Gtk.CssProvider.load_from_file] or * [method@Gtk.CssProvider.load_from_resource] * and adding the provider with [method@Gtk.StyleContext.add_provider] or - * [type_func@Gtk.StyleContext.add_provider_for_display]. + * [func@Gtk.StyleContext.add_provider_for_display]. * In addition, certain files will be read when GTK is initialized. * First, the file `$XDG_CONFIG_HOME/gtk-4.0/gtk.css` is loaded if it diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index ac43018cd6..c0b33c6761 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1642,7 +1642,7 @@ gtk_icon_theme_add_resource_path (GtkIconTheme *self, * overriding system configuration. * * This function cannot be called on the icon theme objects returned - * from [type_func@Gtk.IconTheme.get_for_display]. + * from [func@Gtk.IconTheme.get_for_display]. */ void gtk_icon_theme_set_theme_name (GtkIconTheme *self, diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index 639e2d23e7..55343f7c6f 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -720,7 +720,7 @@ build_recent_items_list (GtkRecentManager *manager) * signal each time something inside the list changes. * * `GtkRecentManager` objects are expensive: be sure to create them - * only when needed. You should use [type_func@Gtk.RecentManager.get_default] + * only when needed. You should use [func@Gtk.RecentManager.get_default] * instead. * * Returns: A newly created `GtkRecentManager` object diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 95da9e1be3..4ad2e66ac4 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -89,7 +89,7 @@ * configuration facility. * * There is one `GtkSettings` instance per display. It can be obtained with - * [type_func@GtkSettings.get_for_display], but in many cases, it is more + * [func@Gtk.Settings.get_for_display], but in many cases, it is more * convenient to use [method@Gtk.Widget.get_settings]. */ @@ -1333,7 +1333,7 @@ gtk_settings_get_for_display (GdkDisplay *display) * Gets the `GtkSettings` object for the default display, creating * it if necessary. * - * See [type_func@Gtk.Settings.get_for_display]. + * See [func@Gtk.Settings.get_for_display]. * * Returns: (nullable) (transfer none): a `GtkSettings` object. If there is * no default display, then returns %NULL. diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index fcf123b011..4ded60230c 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -56,7 +56,7 @@ * queries information from all attached `GtkStyleProviders`. Style * providers can be either attached explicitly to the context through * [method@Gtk.StyleContext.add_provider], or to the display through - * [type_func@Gtk.StyleContext.add_provider_for_display]. The resulting + * [func@Gtk.StyleContext.add_provider_for_display]. The resulting * style is a combination of all providers’ information in priority order. * * For GTK widgets, any `GtkStyleContext` returned by @@ -354,11 +354,11 @@ gtk_style_context_new_for_node (GtkCssNode *node) * Note that a style provider added by this function only affects * the style of the widget to which @context belongs. If you want * to affect the style of all widgets, use - * [type_func@Gtk.StyleContext.add_provider_for_display]. + * [func@Gtk.StyleContext.add_provider_for_display]. * * Note: If both priorities are the same, a `GtkStyleProvider` * added through this function takes precedence over another added - * through [type_func@Gtk.StyleContext.add_provider_for_display]. + * through [func@Gtk.StyleContext.add_provider_for_display]. */ void gtk_style_context_add_provider (GtkStyleContext *context, diff --git a/gtk/gtkstyleprovider.c b/gtk/gtkstyleprovider.c index 1b2b499257..1c404ad368 100644 --- a/gtk/gtkstyleprovider.c +++ b/gtk/gtkstyleprovider.c @@ -29,7 +29,7 @@ * `GtkStyleContext`. * * See [method@Gtk.StyleContext.add_provider] and - * [type_func@Gtk.StyleContext.add_provider_for_display] for + * [func@Gtk.StyleContext.add_provider_for_display] for * adding `GtkStyleProviders`. * * GTK uses the `GtkStyleProvider` implementation for CSS in