summaryrefslogtreecommitdiff
path: root/demos/testanimation.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/testanimation.c')
-rw-r--r--demos/testanimation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/testanimation.c b/demos/testanimation.c
index 0095ebfa0a..a823249b42 100644
--- a/demos/testanimation.c
+++ b/demos/testanimation.c
@@ -270,7 +270,7 @@ new_testrgb_window (GdkPixbuf *pixbuf, gchar *title)
drawing_area = gtk_drawing_area_new ();
temp_box = gtk_hbox_new (FALSE, 0);
- gtk_drawing_area_size (GTK_DRAWING_AREA(drawing_area), w, h);
+ gtk_widget_set_usize (GTK_WIDGET (drawing_area), w, h);
gtk_box_pack_start (GTK_BOX (temp_box), drawing_area, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), temp_box, FALSE, FALSE, 0);