docs: Fix up some places that still said screen instead of display
authorBenjamin Otte <otte@redhat.com>
Tue, 31 Oct 2017 07:25:10 +0000 (08:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 31 Oct 2017 07:25:37 +0000 (08:25 +0100)
gtk/gtkicontheme.c
gtk/gtkstylecontext.c
gtk/gtkwidget.c

index 9001728b9d55d47d8b87438f7bd406ee8df11fcd..dfb3e83323f6f427f3c5901fc8007bce606a36db 100644 (file)
@@ -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.
  * |[<!-- language="C" -->
index fbe2e6af5c0c43971b85f8812bacc4bc1be77e53..bc2f426525a2625641e12f00267fb79ba379523b 100644 (file)
@@ -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.
index 8e6619fd9eb49c30d14fbce8675e4c4baa6269ac..37f725e726732d061dad29c05f2daf8c0ba4d893 100644 (file)
@@ -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
  */