[totem/wip/hadess/bvw-template: 4/6] backend: Port test to new video widget API
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/bvw-template: 4/6] backend: Port test to new video widget API
- Date: Wed, 9 Feb 2022 12:37:41 +0000 (UTC)
commit 1c256f0ddde10cf03147d6b6436f9c6cc682c856
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 9 13:29:45 2022 +0100
backend: Port test to new video widget API
src/backend/bvw-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bvw-test.c b/src/backend/bvw-test.c
index 51aded89e..078c931bc 100644
--- a/src/backend/bvw-test.c
+++ b/src/backend/bvw-test.c
@@ -109,8 +109,8 @@ int main
g_signal_connect (G_OBJECT (win), "destroy",
G_CALLBACK (gtk_main_quit), NULL);
- bvw = bacon_video_widget_new (&error);
- if (!bvw) {
+ bvw = bacon_video_widget_new ();
+ if (!bacon_video_widget_check_init (bvw, &error)) {
g_warning ("Failed to instantiate video widget: %s", error->message);
return 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]