diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/spectrum/demo-audiotest.c | 2 | ||||
-rw-r--r-- | gst/spectrum/demo-osssrc.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +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: diff --git a/gst/spectrum/demo-audiotest.c b/gst/spectrum/demo-audiotest.c index e69aef34..f55bad96 100644 --- a/gst/spectrum/demo-audiotest.c +++ b/gst/spectrum/demo-audiotest.c @@ -143,7 +143,7 @@ main (int argc, char *argv[]) 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); diff --git a/gst/spectrum/demo-osssrc.c b/gst/spectrum/demo-osssrc.c index 522a3e7a..e3d7f7e1 100644 --- a/gst/spectrum/demo-osssrc.c +++ b/gst/spectrum/demo-osssrc.c @@ -120,7 +120,7 @@ main (int argc, char *argv[]) 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); |