summaryrefslogtreecommitdiff
path: root/demos/testanimation.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/testanimation.c')
-rw-r--r--demos/testanimation.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/demos/testanimation.c b/demos/testanimation.c
index 82b932c2d0..e0ce24e8f5 100644
--- a/demos/testanimation.c
+++ b/demos/testanimation.c
@@ -285,17 +285,14 @@ progressive_timeout (gpointer data)
lc->pixbuf_loader = gdk_pixbuf_loader_new ();
- g_signal_connect_data (G_OBJECT (lc->pixbuf_loader),
- "area_prepared",
- G_CALLBACK (progressive_prepared_callback),
- image,
- NULL, FALSE, FALSE);
-
- g_signal_connect_data (G_OBJECT (lc->pixbuf_loader),
- "area_updated",
- G_CALLBACK (progressive_updated_callback),
- image,
- NULL, FALSE, FALSE);
+ g_signal_connect (G_OBJECT (lc->pixbuf_loader),
+ "area_prepared",
+ G_CALLBACK (progressive_prepared_callback),
+ image);
+ g_signal_connect (G_OBJECT (lc->pixbuf_loader),
+ "area_updated",
+ G_CALLBACK (progressive_updated_callback),
+ image);
}
/* leave timeout installed */