summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-07-15 11:50:25 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-07-15 11:50:25 +0000
commit7bef88ec51d777390e531093845f9ed29174589e (patch)
tree99c5844c17338415cb1c5dd1590f92ce1756a026 /gst
parentc6612490b0c0623862d4d72228d2c015ca4a42db (diff)
downloadgst-plugins-bad-7bef88ec51d777390e531093845f9ed29174589e.tar.gz
gst-plugins-bad-7bef88ec51d777390e531093845f9ed29174589e.tar.bz2
gst-plugins-bad-7bef88ec51d777390e531093845f9ed29174589e.zip
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/spectrum/demo-audiotest.c2
-rw-r--r--gst/spectrum/demo-osssrc.c2
2 files changed, 2 insertions, 2 deletions
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);