[totem/wip/hadess/glsink: 11/13] backend: Remove unused *-requested signals




commit 580497aff0b6666bb48b63a515370c9af6b48774
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 0df16ea2a..d08225dd4 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -119,9 +119,6 @@ enum
   SIGNAL_BUFFERING,
   SIGNAL_MISSING_PLUGINS,
   SIGNAL_DOWNLOAD_BUFFERING,
-  SIGNAL_SEEK_REQUESTED,
-  SIGNAL_TRACK_SKIP_REQUESTED,
-  SIGNAL_VOLUME_CHANGE_REQUESTED,
   LAST_SIGNAL
 };
 
@@ -1055,52 +1052,6 @@ bacon_video_widget_class_init (BaconVideoWidgetClass * klass)
                   0,
                   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);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]