[totem/wip/hadess/guard-typo] backend: Fix guard in bacon_video_widget_get_zoom()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/guard-typo] backend: Fix guard in bacon_video_widget_get_zoom()
- Date: Tue, 4 May 2021 10:53:51 +0000 (UTC)
commit 622bb321bda4925e7795e3f852196fb8ef36f6f9
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 4 12:53:16 2021 +0200
backend: Fix guard in bacon_video_widget_get_zoom()
src/backend/bacon-video-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index cfa1f87e9..f17469a61 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -5092,7 +5092,7 @@ bacon_video_widget_get_zoom (BaconVideoWidget *bvw)
{
gboolean expand;
- g_return_val_if_fail (BACON_IS_VIDEO_WIDGET (bvw), 1.0);
+ g_return_val_if_fail (BACON_IS_VIDEO_WIDGET (bvw), BVW_ZOOM_NONE);
expand = totem_aspect_frame_get_expand (TOTEM_ASPECT_FRAME (bvw->frame));
return expand ? BVW_ZOOM_EXPAND : BVW_ZOOM_NONE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]