summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-05-16 02:13:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-05-16 02:13:12 +0000
commit457148333e72c2bc607268ce4922c531aaf33181 (patch)
tree869e8cb6ad75e382de86fbce844141266171fca2 /tests/testgtk.c
parent123e299bcf4a86e8078d77d4f3d4367638cded94 (diff)
downloadgtk+-457148333e72c2bc607268ce4922c531aaf33181.tar.gz
Basic thread-awareness:
Fri May 15 21:16:54 1998 Owen Taylor <otaylor@gtk.org> Basic thread-awareness: * acconfig.h configure.in: New option --with-threads=[yes/posix/no] * gdk/Makefile.am gdk/gdkthreads.c: Added new functions gdk_threads_[init/enter/leave] for applications, plus gdk_threads_wake to wake the mainloop thread out of the select(). * gtk/Makefile.am: gtk/testthreads.c: Test program for threads Fri May 15 12:08:48 1998 Owen Taylor <otaylor@gtk.org> * gtk/testgtk.c (list_clear): Account for the fact that gtk_list_clear_items is not inclusive. (Clears [start, end))
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 7478f335b8..b2a4ca8a71 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2815,7 +2815,7 @@ static void
list_clear (GtkWidget *widget,
GtkWidget *list)
{
- gtk_list_clear_items (GTK_LIST (list), 3 - 1, 5 - 1);
+ gtk_list_clear_items (GTK_LIST (list), 3 - 1, 6 - 1);
}
static void