[gtksourceview] view: add "since 3.18" for the smart-backspace property



commit 4a3702df87a124ad4a3380a69531ed3062b1daa1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Aug 14 14:20:42 2015 +0200

    view: add "since 3.18" for the smart-backspace property
    
    And do not translate the property descriptions,
    see commit e9bc0e5d4f5c242a23f7d55d395fb2c70fa83bc9.

 gtksourceview/gtksourceview.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 8ca8d48..32b6f80 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -654,11 +654,18 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
                                                            GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE,
                                                            G_PARAM_READWRITE));
 
+       /**
+        * GtkSourceView:smart-backspace:
+        *
+        * Whether smart Backspace should be used.
+        *
+        * Since: 3.18
+        */
        g_object_class_install_property (object_class,
                                         PROP_SMART_BACKSPACE,
                                         g_param_spec_boolean ("smart-backspace",
-                                                              _("Smart Backspace"),
-                                                              _("Whether smart Backspace should be used."),
+                                                              "Smart Backspace",
+                                                              "",
                                                               FALSE,
                                                               G_PARAM_READWRITE));
 


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