diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1999-11-03 15:57:16 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1999-11-03 15:57:16 +0000 |
commit | 5a3e3916f501fe6d1220510b16c29a3f343b7d86 (patch) | |
tree | bdcdbc27dad1cecbf4c9063faad6af4ee26fc2fa | |
parent | 59ab307a62352890d6061fe72f76b79628201997 (diff) | |
download | gtk+-5a3e3916f501fe6d1220510b16c29a3f343b7d86.tar.gz |
A GtkFunction needs to return a value for deterministic behaviour. Also
A GtkFunction needs to return a value for deterministic behaviour. Also put dot printing back in.
-rw-r--r-- | demos/testpixbuf.c | 6 | ||||
-rw-r--r-- | gdk-pixbuf/ChangeLog | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index 4fedda2b92..2e7490cc18 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -421,6 +421,8 @@ update_timeout(gpointer data) if (*window_loc != NULL) { gtk_widget_queue_draw(*window_loc); } + + return TRUE; } static void @@ -520,7 +522,7 @@ main (int argc, char **argv) int nbytes; nbytes = fread(buf, 1, readlen, file); -/* printf(".");*/ + printf("."); fflush(stdout); if (gdk_pixbuf_loader_write (GDK_PIXBUF_LOADER (pixbuf_loader), buf, nbytes) == FALSE) @@ -529,7 +531,7 @@ main (int argc, char **argv) while (gtk_events_pending()) gtk_main_iteration(); } -/* printf("\n");*/ + printf("\n"); gtk_timeout_remove (timeout); gdk_pixbuf_loader_close (GDK_PIXBUF_LOADER (pixbuf_loader)); gtk_object_destroy (GTK_OBJECT(pixbuf_loader)); diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index aa1cc0ae53..8be1d192fd 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,6 @@ + * src/testpixbuf.c: A GtkFunction needs to return a value for deterministic behaviour. + Also put dot printing back in. + 1999-11-03 <jrb@redhat.com> * src/io-gif.c (gif_get_extension): Read 'til the next empty block |