[totem/wip/hadess/glsink: 2/6] backend: Remove unused *-requested signals
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/glsink: 2/6] backend: Remove unused *-requested signals
- Date: Tue, 1 Feb 2022 12:04:12 +0000 (UTC)
commit 344ca06be467bd4156f66ba23abfa87d3ad4288a
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 28 12:37:23 2022 +0100
backend: Remove unused *-requested signals
All user input is now handled in the front-end.
src/backend/bacon-video-widget.c | 49 ----------------------------------------
1 file changed, 49 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index e191bc8a8..1e54512cd 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -118,9 +118,6 @@ enum
SIGNAL_BUFFERING,
SIGNAL_MISSING_PLUGINS,
SIGNAL_DOWNLOAD_BUFFERING,
- SIGNAL_SEEK_REQUESTED,
- SIGNAL_TRACK_SKIP_REQUESTED,
- SIGNAL_VOLUME_CHANGE_REQUESTED,
SIGNAL_PLAY_STARTING,
LAST_SIGNAL
};
@@ -881,52 +878,6 @@ bacon_video_widget_class_init (BaconVideoWidgetClass * klass)
NULL, NULL,
g_cclosure_marshal_VOID__DOUBLE, G_TYPE_NONE, 1, G_TYPE_DOUBLE);
- /**
- * BaconVideoWidget::seek-requested:
- * @bvw: the #BaconVideoWidget which received the signal
- * @forward: whether the seek requested is a forward or backward seek.
- *
- * Emitted when a gesture, our mouse movement that should seek is made.
- **/
- bvw_signals[SIGNAL_SEEK_REQUESTED] =
- g_signal_new ("seek-requested",
- G_TYPE_FROM_CLASS (object_class),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL,
- g_cclosure_marshal_generic, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
- /**
- * BaconVideoWidget::track-skip-requested:
- * @bvw: the #BaconVideoWidget which received the signal
- * @forward: whether the track change requested is a forward or backward skip.
- *
- * Emitted when a gesture, our mouse movement that should seek is made.
- **/
- bvw_signals[SIGNAL_TRACK_SKIP_REQUESTED] =
- g_signal_new ("track-skip-requested",
- G_TYPE_FROM_CLASS (object_class),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL,
- g_cclosure_marshal_generic, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
- /**
- * BaconVideoWidget::volume-change-requested:
- * @bvw: the #BaconVideoWidget which received the signal
- * @increase: whether the volume change requested is an increase or decrease.
- *
- * Emitted when a gesture, our mouse movement that should change the volume
- * is emitted.
- **/
- bvw_signals[SIGNAL_VOLUME_CHANGE_REQUESTED] =
- g_signal_new ("volume-change-requested",
- G_TYPE_FROM_CLASS (object_class),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL,
- g_cclosure_marshal_generic, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
/**
* BaconVideoWidget::play-starting:
* @bvw: the #BaconVideoWidget which received the signal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]