X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktexttypes.c;h=65133653524396e7b5572a9b78fd4342918a5fb0;hb=320613c439c6c7eeb5bc64685522195e0a6adc4e;hp=3e72302b61613a69733c1bda36b764f3f6a22a3e;hpb=d97cdbdf53832729141b3b66de00f770b44e3390;p=~andy%2Fgtk diff --git a/gtk/gtktexttypes.c b/gtk/gtktexttypes.c index 3e72302b6..651336535 100644 --- a/gtk/gtktexttypes.c +++ b/gtk/gtktexttypes.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -26,12 +24,18 @@ #include "config.h" #include "gtktexttypes.h" -#include "gtkalias.h" /* These are used to represent embedded non-character objects * if you return a string representation of a text buffer */ -const gchar gtk_text_unknown_char_utf8[] = { '\xEF', '\xBF', '\xBC', '\0' }; +const gchar _gtk_text_unknown_char_utf8[] = { '\xEF', '\xBF', '\xBC', '\0' }; + +/* This is to be used only by libgtk test programs */ +const gchar * +gtk_text_unknown_char_utf8_gtk_tests_only (void) +{ + return _gtk_text_unknown_char_utf8; +} static inline gboolean inline_byte_begins_utf8_char (const gchar *byte) @@ -44,6 +48,3 @@ gtk_text_byte_begins_utf8_char (const gchar *byte) { return inline_byte_begins_utf8_char (byte); } - -#define __GTK_TEXT_TYPES_C__ -#include "gtkaliasdef.c"