summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2010-09-13 16:47:14 +0200
committerKristian Rietveld <kris@gtk.org>2010-09-13 16:47:14 +0200
commitecaa37529c18dab348de033b4e90cc16291af7c6 (patch)
tree60f1ec3463e131522ba950683cc4b7826ce1fc2b
parent31cd439385322cc2fcb857de0a015b316892fc02 (diff)
downloadgtk+-ecaa37529c18dab348de033b4e90cc16291af7c6.tar.gz
Mark declaration of symbol _gtk_text_unknown_char_utf8 as extern
So that the symbol is not re-created each time the header is included. The symbol is defined in gtktexttypes.c already.
-rw-r--r--gtk/gtktexttypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktexttypes.h b/gtk/gtktexttypes.h
index e482c06143..fc595a0da2 100644
--- a/gtk/gtktexttypes.h
+++ b/gtk/gtktexttypes.h
@@ -62,7 +62,7 @@ extern G_GNUC_INTERNAL const GtkTextLineSegmentClass gtk_text_child_type;
#define GTK_TEXT_UNKNOWN_CHAR 0xFFFC
#define GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN 3
const gchar *gtk_text_unknown_char_utf8_gtk_tests_only (void);
-const gchar _gtk_text_unknown_char_utf8[GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN+1];
+extern const gchar _gtk_text_unknown_char_utf8[GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN+1];
gboolean gtk_text_byte_begins_utf8_char (const gchar *byte);