summaryrefslogtreecommitdiff
path: root/gtksourceview
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2015-08-14 14:20:42 +0200
committerSébastien Wilmet <swilmet@gnome.org>2015-08-14 14:20:42 +0200
commit4a3702df87a124ad4a3380a69531ed3062b1daa1 (patch)
treeb4f378fc29929965930a2a689352f84052a0ac1d /gtksourceview
parent86f32d0914ac1638092e7ffcfe86438d77a75571 (diff)
downloadgtksourceview-4a3702df87a124ad4a3380a69531ed3062b1daa1.tar.gz
view: add "since 3.18" for the smart-backspace property
And do not translate the property descriptions, see commit e9bc0e5d4f5c242a23f7d55d395fb2c70fa83bc9.
Diffstat (limited to 'gtksourceview')
-rw-r--r--gtksourceview/gtksourceview.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 8ca8d48e..32b6f80d 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));