]> Pileus Git - ~andy/gtk/blobdiff - tests/testthreads.c
Merges from gtk-1-2
[~andy/gtk] / tests / testthreads.c
index 27e0753f311b43aabe7c105fa13a94e64495b181..c10cbecdaed5a4368399382fad39068183c0bc59 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+
+/*
+ * Modified by the GTK+ Team and others 1997-1999.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #include <stdio.h>
 #include <unistd.h>
 #include <gtk/gtk.h>
@@ -82,7 +90,7 @@ counter (void *data)
   while (!flag)
     {
       sprintf(buffer, "%d", counter);
-      gtk_label_set (GTK_LABEL (label), buffer);
+      gtk_label_set_text (GTK_LABEL (label), buffer);
       gdk_threads_leave();
       counter++;
       /* Give someone else a chance to get the lock next time.