+2006-07-15 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/spectrum/demo-audiotest.c: (main):
+ * gst/spectrum/demo-osssrc.c: (main):
+ Do not use deprecated gtk functions.
+
2006-07-14 Wim Taymans <wim@fluendo.com>
* gst/nsf/Makefile.am:
gtk_container_add (GTK_CONTAINER (vbox), widget);
drawingarea = gtk_drawing_area_new ();
- gtk_drawing_area_size (GTK_DRAWING_AREA (drawingarea), SPECT_BANDS, 64);
+ gtk_widget_set_size_request (drawingarea, SPECT_BANDS, 64);
gtk_container_add (GTK_CONTAINER (vbox), drawingarea);
gtk_container_add (GTK_CONTAINER (appwindow), vbox);
G_CALLBACK (on_window_destroy), NULL);
drawingarea = gtk_drawing_area_new ();
- gtk_drawing_area_size (GTK_DRAWING_AREA (drawingarea), SPECT_BANDS, 64);
+ gtk_widget_set_size_request (drawingarea, SPECT_BANDS, 64);
gtk_container_add (GTK_CONTAINER (appwindow), drawingarea);
gtk_widget_show_all (appwindow);