[gtk+] Fix a typo



commit e41936c19c8861097383a5b588a7a636e0c52dec
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 1 19:40:56 2017 -0400

    Fix a typo
    
    A display is not of type GDK_TYPE_SCREEN.

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index bc2f426..02955e9 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] =


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]