diff options
author | Havoc Pennington <hp@pobox.com> | 2001-09-08 19:33:06 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-09-08 19:33:06 +0000 |
commit | 9ddcb3e07ec94a4526377d07e6f785e81d9166a0 (patch) | |
tree | fe22e908eba247683a67d6436b78f9bb67a5c61e /tests | |
parent | 9e1fc3a7babc6c6b611024a1856573ab12c65386 (diff) | |
download | gdk-pixbuf-9ddcb3e07ec94a4526377d07e6f785e81d9166a0.tar.gz |
default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
2001-09-08 Havoc Pennington <hp@pobox.com>
* gtk/gtkalignment.c (gtk_alignment_class_init): default
xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
* gtk/gtktextiter.c: fix docs
(gtk_text_iter_spew): get rid of this
* gtk/gtklayout.c: docs
* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
to center image and label together, instead of having image on
left and label centered, patch/suggestion from Jacob
* gtk/gtkdialog.c: docs
2001-09-08 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtklayout.sgml: docs
* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
gdk-pixbuf since it isn't a standalone package anymore
* gtk/building.sgml: section on compiling GTK itself
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testtextbuffer.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testtextbuffer.c b/tests/testtextbuffer.c index 0bf1a25e1..4ac0dafef 100644 --- a/tests/testtextbuffer.c +++ b/tests/testtextbuffer.c @@ -6,6 +6,17 @@ #include <gtk/gtk.h> #include "../gtk/gtktexttypes.h" /* Private header, for UNKNOWN_CHAR */ +static void +gtk_text_iter_spew (const GtkTextIter *iter, const gchar *desc) +{ + g_print (" %20s: line %d / char %d / line char %d / line byte %d\n", + desc, + gtk_text_iter_get_line (iter), + gtk_text_iter_get_offset (iter), + gtk_text_iter_get_line_offset (iter), + gtk_text_iter_get_line_index (iter)); +} + static void fill_buffer (GtkTextBuffer *buffer); static void run_tests (GtkTextBuffer *buffer); |