Commit 726c8339 authored by Wim Taymans's avatar Wim Taymans
Browse files

Compile fixes for gtk.

Original commit message from CVS:
Compile fixes for gtk.
parent 10f53034
......@@ -93,7 +93,7 @@ int main(int argc,char *argv[]) {
appwindow = gnome_app_new("AVI player","AVI player");
gnome_app_set_contents(GNOME_APP(appwindow),
gst_util_get_widget_arg(GTK_OBJECT(show),"widget"));
gst_util_get_pointer_arg(GTK_OBJECT(show),"widget"));
gtk_widget_show_all(appwindow);
// create the thread and pack stuff into it
......
......@@ -81,7 +81,7 @@ void new_pad_created(GstElement *parse,GstPad *pad,GstElement *pipeline) {
appwindow = gnome_app_new("MPEG1 player","MPEG1 player");
gnome_app_set_contents(GNOME_APP(appwindow),
gst_util_get_widget_arg(GTK_OBJECT(show),"widget"));
gst_util_get_pointer_arg(GTK_OBJECT(show),"widget"));
gtk_widget_show_all(appwindow);
// create the thread and pack stuff into it
......
......@@ -131,7 +131,7 @@ void mpeg2parse_newpad(GstElement *parser,GstPad *pad, GstElement *pipeline) {
appwindow = gnome_app_new("MPEG player","MPEG player");
gnome_app_set_contents(GNOME_APP(appwindow),
gst_util_get_widget_arg(GTK_OBJECT(show),"widget"));
gst_util_get_pointer_arg(GTK_OBJECT(show),"widget"));
gtk_widget_show_all(appwindow);
// create the thread and pack stuff into it
......
......@@ -73,13 +73,13 @@ int main(int argc,char *argv[]) {
//gtk_widget_set_usize (button, 50, 50);
//gtk_widget_set_usize (button, 0, 0);
draw = gst_util_get_widget_arg(GTK_OBJECT(videosink),"widget"),
draw = gst_util_get_pointer_arg(GTK_OBJECT(videosink),"widget"),
gtk_box_pack_start (GTK_BOX (vbox1),
draw,
TRUE, TRUE, 0);
gtk_widget_show (draw);
draw2 = gst_util_get_widget_arg(GTK_OBJECT(videosink2),"widget"),
draw2 = gst_util_get_pointer_arg(GTK_OBJECT(videosink2),"widget"),
gtk_widget_show (draw2);
gnome_app_set_contents(GNOME_APP(appwindow), vbox1);
......
......@@ -42,7 +42,7 @@ int main(int argc,char *argv[]) {
gst_element_get_pad(wave,"sink"));
appwindow = gnome_app_new("wave","Wave");
gnome_app_set_contents(GNOME_APP(appwindow),gst_util_get_widget_arg(GTK_OBJECT(wave),"widget"));
gnome_app_set_contents(GNOME_APP(appwindow),gst_util_get_pointer_arg(GTK_OBJECT(wave),"widget"));
gtk_widget_show_all(appwindow);
gst_element_set_state(GST_ELEMENT(bin),GST_STATE_READY);
......
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