From dd6f0ffe190c073074d9687aad9014b09ac73803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= Date: Sun, 20 Sep 2015 17:57:37 +0200 Subject: map: do not translate properties Properties are no longer translated in GtkSourceView. That's a waste of time. --- gtksourceview/gtksourcemap.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c index 03ad68f4..56404050 100644 --- a/gtksourceview/gtksourcemap.c +++ b/gtksourceview/gtksourcemap.c @@ -18,16 +18,14 @@ * along with this program. If not, see . */ +#include "gtksourcemap.h" +#include #include "gtksourcebuffer.h" #include "gtksourcecompletion.h" -#include "gtksourcemap.h" #include "gtksourcestyle-private.h" #include "gtksourcestylescheme.h" #include "gtksourceview-utils.h" -#include -#include - /** * SECTION:map * @Short_description: Widget that displays a map for a specific #GtkSourceView @@ -1075,15 +1073,15 @@ gtk_source_map_class_init (GtkSourceMapClass *klass) pspecs[PROP_VIEW] = g_param_spec_object ("view", - _("View"), - _("The view this widget is mapping."), + "View", + "The view this widget is mapping.", GTK_SOURCE_TYPE_VIEW, (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); pspecs[PROP_FONT_DESC] = g_param_spec_boxed ("font-desc", - _("Font Description"), - _("The Pango font description to use."), + "Font Description", + "The Pango font description to use.", PANGO_TYPE_FONT_DESCRIPTION, (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); -- cgit v1.2.1