diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 9001728b9d..dfb3e83323 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -74,7 +74,7 @@ * directly is also simple. The #GtkIconTheme object acts * as a database of all the icons in the current theme. You * can create new #GtkIconTheme objects, but it’s much more - * efficient to use the standard icon theme for the #GdkScreen + * efficient to use the standard icon theme for the #GdkDisplay * so that the icon information is shared with other people * looking up icons. * |[ diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index fbe2e6af5c..bc2f426525 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -562,10 +562,10 @@ gtk_style_context_remove_provider (GtkStyleContext *context, /** * gtk_style_context_reset_widgets: - * @display: a #GdkScreen + * @display: a #GdkDisplay * * This function recomputes the styles for all widgets under a particular - * #GdkScreen. This is useful when some global parameter has changed that + * #GdkDisplay. This is useful when some global parameter has changed that * affects the appearance of all widgets, because when a widget gets a new * style, it will both redraw and recompute any cached information about * its appearance. As an example, it is used when the color scheme changes @@ -631,7 +631,7 @@ gtk_style_context_add_provider_for_display (GdkDisplay *display, /** * gtk_style_context_remove_provider_for_display: - * @display: a #GdkScreen + * @display: a #GdkDisplay * @provider: a #GtkStyleProvider * * Removes @provider from the global style providers list in @display. diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 8e6619fd9e..37f725e726 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -8924,7 +8924,7 @@ gtk_widget_update_pango_context (GtkWidget *widget) * previously set default font options. * * Sets the #cairo_font_options_t used for Pango rendering in this widget. - * When not set, the default font options for the #GdkScreen will be used. + * When not set, the default font options for the #GdkDisplay will be used. * * Since: 3.18 **/ @@ -8953,7 +8953,7 @@ gtk_widget_set_font_options (GtkWidget *widget, * @widget: a #GtkWidget * * Returns the #cairo_font_options_t used for Pango rendering. When not set, - * the defaults font options for the #GdkScreen will be used. + * the defaults font options for the #GdkDisplay will be used. * * Returns: (transfer none) (nullable): the #cairo_font_options_t or %NULL if not set * @@ -9737,7 +9737,7 @@ gtk_widget_get_ancestor (GtkWidget *widget, * * Note that this function can only be called when the #GtkWidget * is attached to a toplevel, since the settings object is specific - * to a particular #GdkScreen. + * to a particular #GdkDisplay. * * Returns: (transfer none): the relevant #GtkSettings object */