summaryrefslogtreecommitdiff
path: root/examples/helloworld/helloworld.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/helloworld.c')
-rw-r--r--examples/helloworld/helloworld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c
index 9e3f93e783..74e2a4faaa 100644
--- a/examples/helloworld/helloworld.c
+++ b/examples/helloworld/helloworld.c
@@ -27,9 +27,9 @@ int main(int argc,char *argv[])
/* create a disk reader */
disksrc = gst_elementfactory_make("disksrc", "disk_source");
- gtk_object_set(GTK_OBJECT(disksrc),"location", argv[1],NULL);
- gtk_signal_connect(GTK_OBJECT(disksrc),"eos",
- GTK_SIGNAL_FUNC(eos),NULL);
+ g_object_set(G_OBJECT(disksrc),"location", argv[1],NULL);
+ g_signal_connectc(G_OBJECT(disksrc),"eos",
+ G_CALLBACK(eos),NULL,FALSE);
/* now it's time to get the parser */
parse = gst_elementfactory_make("mp3parse","parse");