[sound-juicer] Make sure metadata is still alive when firing the signal
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sound-juicer] Make sure metadata is still alive when firing the signal
- Date: Tue, 24 Nov 2009 17:58:37 +0000 (UTC)
commit f3fcd3593f78af6ad0eec670fb5605e19f510f48
Author: Bastien Nocera <hadess hadess net>
Date: Tue Nov 24 17:52:05 2009 +0000
Make sure metadata is still alive when firing the signal
libjuicer/sj-metadata-getter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libjuicer/sj-metadata-getter.c b/libjuicer/sj-metadata-getter.c
index 8f16efe..da3f685 100644
--- a/libjuicer/sj-metadata-getter.c
+++ b/libjuicer/sj-metadata-getter.c
@@ -215,7 +215,7 @@ lookup_cd (SjMetadataGetter *mdg)
signal = g_new0 (SjMetadataGetterSignal, 1);
signal->albums = albums;
signal->mdg = g_object_ref (mdg);
- signal->metadata = metadata;
+ signal->metadata = g_object_ref (metadata);
g_idle_add ((GSourceFunc)fire_signal_idle, signal);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]