[sound-juicer/gnome-2-26] 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/gnome-2-26] Make sure metadata is still alive when firing the signal
- Date: Thu, 26 Nov 2009 11:20:40 +0000 (UTC)
commit 69548d265c3ac9f97fcb61c45996ee0bf05167c5
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]