[gtk+] docs: Fix up some places that still said screen instead of display
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: Fix up some places that still said screen instead of display
- Date: Tue, 31 Oct 2017 07:26:26 +0000 (UTC)
commit 3967072c662f5043ab91387c4929971f8b7c1b40
Author: Benjamin Otte <otte redhat com>
Date: Tue Oct 31 08:25:10 2017 +0100
docs: Fix up some places that still said screen instead of display
gtk/gtkicontheme.c | 2 +-
gtk/gtkstylecontext.c | 6 +++---
gtk/gtkwidget.c | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 9001728..dfb3e83 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.
* |[<!-- language="C" -->
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index fbe2e6a..bc2f426 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 8e6619f..37f725e 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]