[Xfce4-commits] [apps/parole] 01/01: Disable the Seeked MPRIS2 signal, broken with 32-bit arches (lp 1374887)
noreply at xfce.org
noreply at xfce.org
Thu Mar 1 04:53:31 CET 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/parole.
commit 20329751a5ef17918a75bf942d578963a664a62c
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Wed Feb 28 22:53:25 2018 -0500
Disable the Seeked MPRIS2 signal, broken with 32-bit arches (lp 1374887)
---
src/plugins/mpris2/mpris2-provider.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/plugins/mpris2/mpris2-provider.c b/src/plugins/mpris2/mpris2-provider.c
index b509408..6b5f5a6 100644
--- a/src/plugins/mpris2/mpris2-provider.c
+++ b/src/plugins/mpris2/mpris2-provider.c
@@ -719,12 +719,13 @@ state_changed_cb(ParoleProviderPlayer *player,
parole_mpris_update_any(provider);
}
+/*
static void
seeked_cb(ParoleProviderPlayer *player, Mpris2Provider *provider) {
gint64 position = 0;
if (NULL == provider->dbus_connection)
- return; /* better safe than sorry */
+ return; // better safe than sorry
position =(gint64) parole_provider_player_get_stream_position(provider->player);
@@ -732,6 +733,7 @@ seeked_cb(ParoleProviderPlayer *player, Mpris2Provider *provider) {
"org.mpris.MediaPlayer2.Player", "Seeked",
g_variant_new("(x)", position), NULL);
}
+*/
static void
conf_changed_cb(ParoleConf *conf, GParamSpec *pspec, Mpris2Provider *provider) {
@@ -950,8 +952,10 @@ mpris2_provider_set_player(ParoleProviderPlugin *plugin, ParoleProviderPlayer *p
g_signal_connect(player, "state_changed",
G_CALLBACK(state_changed_cb), plugin);
+/*
g_signal_connect(player, "seeked",
G_CALLBACK(seeked_cb), plugin);
+*/
provider->conf = parole_conf_new();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list