Commit 8ad4273a authored by Stefan Kost's avatar Stefan Kost

gst/spectrum/: Do not use deprecated gtk functions.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
Do not use deprecated gtk functions.
parent 0d462be7
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment