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))
This commit is contained in:
Owen Taylor
1998-05-16 02:13:12 +00:00
committed by Owen Taylor
parent 123e299bcf
commit 457148333e
21 changed files with 245 additions and 3 deletions

View File

@ -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