[gtk+] Mark declaration of symbol _gtk_text_unknown_char_utf8 as extern
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Mark declaration of symbol _gtk_text_unknown_char_utf8 as extern
- Date: Mon, 13 Sep 2010 14:52:43 +0000 (UTC)
commit ecaa37529c18dab348de033b4e90cc16291af7c6
Author: Kristian Rietveld <kris gtk org>
Date: Mon Sep 13 16:47:14 2010 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktexttypes.h b/gtk/gtktexttypes.h
index e482c06..fc595a0 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]