[gtksourceview/gnome-3-24] Style: add missing G_PARAM_DEPRECATED flag to the :underline property



commit 566965213e939d577fd32e22142999078f528303
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jun 24 10:48:43 2018 +0200

    Style: add missing G_PARAM_DEPRECATED flag to the :underline property
    
    To see a warning when using it.

 gtksourceview/gtksourcestyle.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcestyle.c b/gtksourceview/gtksourcestyle.c
index 3713f76b..67e9aba7 100644
--- a/gtksourceview/gtksourcestyle.c
+++ b/gtksourceview/gtksourcestyle.c
@@ -141,7 +141,9 @@ gtk_source_style_class_init (GtkSourceStyleClass *klass)
                                                               "Underline",
                                                               "Underline",
                                                               FALSE,
-                                                              G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+                                                              G_PARAM_READWRITE |
+                                                              G_PARAM_CONSTRUCT_ONLY |
+                                                              G_PARAM_DEPRECATED));
 
        g_object_class_install_property (object_class,
                                         PROP_PANGO_UNDERLINE,


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