[goobox] do not lock the driver while playing
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] do not lock the driver while playing
- Date: Sun, 30 Dec 2018 12:08:50 +0000 (UTC)
commit 165c68a2eb8d39fe271c66b12a39ce5f0befa050
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Dec 30 10:33:06 2018 +0100
do not lock the driver while playing
src/goo-player.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/goo-player.c b/src/goo-player.c
index e73834f..6b65730 100644
--- a/src/goo-player.c
+++ b/src/goo-player.c
@@ -321,13 +321,6 @@ goo_player_set_state (GooPlayer *self,
GooPlayerState state,
gboolean notify)
{
- if (self->priv->drive != NULL) {
- if (state == GOO_PLAYER_STATE_PLAYING)
- brasero_drive_lock (self->priv->drive, _("Playing CD"), NULL);
- else
- brasero_drive_unlock (self->priv->drive);
- }
-
self->priv->state = state;
if (notify)
g_signal_emit (G_OBJECT (self),
@@ -429,7 +422,6 @@ goo_player_finalize (GObject *object)
self->priv->exiting = TRUE;
g_mutex_unlock (&self->priv->data_mutex);
- brasero_drive_unlock (self->priv->drive);
if (self->priv->medium_added_event != 0)
g_signal_handler_disconnect (self->priv->drive, self->priv->medium_added_event);
if (self->priv->medium_removed_event != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]