From ecaa37529c18dab348de033b4e90cc16291af7c6 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Mon, 13 Sep 2010 16:47:14 +0200 Subject: [PATCH] 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. --- gtk/gtktexttypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);