summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2015-09-20 17:57:37 +0200
committerSébastien Wilmet <swilmet@gnome.org>2015-09-20 17:57:37 +0200
commitdd6f0ffe190c073074d9687aad9014b09ac73803 (patch)
treec067c12587133601f9653eda8b6319da54acb1c5
parent1fcc1496d5f3ff58e4e127809a7d8680076cdd7a (diff)
downloadgtksourceview-dd6f0ffe190c073074d9687aad9014b09ac73803.tar.gz
map: do not translate properties
Properties are no longer translated in GtkSourceView. That's a waste of time.
-rw-r--r--gtksourceview/gtksourcemap.c14
1 files 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 <http://www.gnu.org/licenses/>.
*/
+#include "gtksourcemap.h"
+#include <string.h>
#include "gtksourcebuffer.h"
#include "gtksourcecompletion.h"
-#include "gtksourcemap.h"
#include "gtksourcestyle-private.h"
#include "gtksourcestylescheme.h"
#include "gtksourceview-utils.h"
-#include <glib/gi18n.h>
-#include <string.h>
-
/**
* 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));