summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-01 19:40:56 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-11-01 19:44:28 -0400
commite41936c19c8861097383a5b588a7a636e0c52dec (patch)
tree04ba48704cb50f50a19e904c9ac7b495c71f4ed0
parentbd6b6ed93c075c2055dff5cdff6f85a886bc6571 (diff)
downloadgtk+-e41936c19c8861097383a5b588a7a636e0c52dec.tar.gz
Fix a typo
A display is not of type GDK_TYPE_SCREEN.
-rw-r--r--gtk/gtkstylecontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index bc2f426525..02955e9c9e 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -210,7 +210,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass)
g_param_spec_object ("display",
P_("Display"),
P_("The associated GdkDisplay"),
- GDK_TYPE_SCREEN,
+ GDK_TYPE_DISPLAY,
GTK_PARAM_READWRITE);
properties[PROP_FRAME_CLOCK] =