diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-06-14 20:41:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-06-14 20:41:44 +0000 |
commit | 22491fd6a4ee247bf49988db49250a6e3c278bf0 (patch) | |
tree | 9048fa10acb725e3e08e526eba21f69998cd93b5 /tests | |
parent | 7d1a049bc39000840d2989f38e0ac444958d8740 (diff) | |
download | gtk+-22491fd6a4ee247bf49988db49250a6e3c278bf0.tar.gz |
Add missing gdk_rectangle_get_type() prototype.
Mon Jun 11 18:15:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
to recent changes in Pango.
* tests/testgtk.c: Set language tags with gtk_label_set_markup()
to test whether the basic engine honors them.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index e6042b54c3..cd0ad710ca 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -2105,9 +2105,14 @@ void create_labels (void) gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0); frame = gtk_frame_new ("Internationalized Label"); - label = gtk_label_new ("French (Français) Bonjour, Salut\n" - "Korean (한글) 안녕하세요, 안녕하십니까\n" - "Russian (Русский) Здравствуйте!"); + label = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (label), + "French (Français) Bonjour, Salut\n" + "Korean (한글) 안녕하세요, 안녕하십니까\n" + "Russian (Русский) Здравствуйте!\n" + "Chinese (Simplified) <span lang=\"zh-cn\">元气 开发</span>\n" + "Chinese (Traditional) <span lang=\"zh-tw\">元氣 開發</span>\n" + "Japanese <span lang=\"ja\">元気 開発</span>"); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); gtk_container_add (GTK_CONTAINER (frame), label); gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0); |