[totem] Fix run-time warnings in test application
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Fix run-time warnings in test application
- Date: Thu, 5 Nov 2009 15:05:51 +0000 (UTC)
commit f03c5713b591358056e9798042fadcede8c75203
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 5 01:01:05 2009 +0000
Fix run-time warnings in test application
src/backend/bvw-test.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/backend/bvw-test.c b/src/backend/bvw-test.c
index 4cde296..818aa01 100644
--- a/src/backend/bvw-test.c
+++ b/src/backend/bvw-test.c
@@ -55,12 +55,6 @@ on_got_metadata (BaconVideoWidget *bvw, gpointer data)
}
static void
-on_title_changed (BaconVideoWidget *bvw, const char *title, gpointer data)
-{
- g_message ("Got title change signal: %s", title);
-}
-
-static void
error_cb (GtkWidget *bvw, const char *message,
gboolean playback_stopped, gboolean fatal)
{
@@ -95,10 +89,10 @@ int main
bvw = bacon_video_widget_new (width, height,
BVW_USE_TYPE_VIDEO, NULL);
+ bacon_video_widget_set_logo (BACON_VIDEO_WIDGET (bvw), "totem");
g_signal_connect (G_OBJECT (bvw), "eos", G_CALLBACK (on_eos_event), NULL);
g_signal_connect (G_OBJECT (bvw), "got-metadata", G_CALLBACK (on_got_metadata), NULL);
- g_signal_connect (G_OBJECT (bvw), "title-change", G_CALLBACK (on_title_changed), NULL);
g_signal_connect (G_OBJECT (bvw), "got-redirect", G_CALLBACK (on_redirect), NULL);
g_signal_connect (G_OBJECT (bvw), "error", G_CALLBACK (error_cb), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]