[gnome-settings-daemon] Bug 590073 – gnome-settings-daemon crashed with SIGSEGV in gvc_mixer_stream_is_running()
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Bug 590073 – gnome-settings-daemon crashed with SIGSEGV in gvc_mixer_stream_is_running()
- Date: Fri, 31 Jul 2009 16:00:19 +0000 (UTC)
commit 5b73218d9170626162fca03425ac7f0b4789bc0f
Author: Chris Coulson <chrisccoulson googlemail com>
Date: Fri Jul 31 16:59:36 2009 +0100
Bug 590073 â?? gnome-settings-daemon crashed with SIGSEGV in gvc_mixer_stream_is_running()
Fix crasher when the default sink changes, we were unref'ing
streams, when never ref'ing them.
plugins/media-keys/gsd-media-keys-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 3eeea71..8438875 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -740,7 +740,7 @@ update_default_sink (GsdMediaKeysManager *manager)
}
if (stream != NULL) {
- manager->priv->stream = stream;
+ manager->priv->stream = g_object_ref (stream);
g_signal_connect (G_OBJECT (manager->priv->stream), "notify::volume",
G_CALLBACK (on_stream_event_notify), manager);
g_signal_connect (G_OBJECT (manager->priv->stream), "notify::is-muted",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]