[gtksourceview] UndoManagerDefault: add missing G_PARAM_STATIC_STRINGS's



commit 213349d38b5f6362b9a097583c893ccd591434e4
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Jun 20 17:53:34 2016 +0200

    UndoManagerDefault: add missing G_PARAM_STATIC_STRINGS's

 gtksourceview/gtksourceundomanagerdefault.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceundomanagerdefault.c b/gtksourceview/gtksourceundomanagerdefault.c
index 3a05906..c870967 100644
--- a/gtksourceview/gtksourceundomanagerdefault.c
+++ b/gtksourceview/gtksourceundomanagerdefault.c
@@ -1362,7 +1362,9 @@ gtk_source_undo_manager_default_class_init (GtkSourceUndoManagerDefaultClass *kl
                                                              "Buffer",
                                                              "The text buffer to add undo support on",
                                                              GTK_TYPE_TEXT_BUFFER,
-                                                             G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+                                                             G_PARAM_READWRITE |
+                                                             G_PARAM_CONSTRUCT_ONLY |
+                                                             G_PARAM_STATIC_STRINGS));
 
        g_object_class_install_property (object_class,
                                         PROP_MAX_UNDO_LEVELS,
@@ -1372,7 +1374,8 @@ gtk_source_undo_manager_default_class_init (GtkSourceUndoManagerDefaultClass *kl
                                                           -1,
                                                           G_MAXINT,
                                                           DEFAULT_MAX_UNDO_LEVELS,
-                                                          G_PARAM_READWRITE));
+                                                          G_PARAM_READWRITE |
+                                                          G_PARAM_STATIC_STRINGS));
 }
 
 static void


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