[brasero] Ref the default BraseroIO object so as to avoid having it destroyed every time a brasero_io_* functi
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero] Ref the default BraseroIO object so as to avoid having it destroyed every time a brasero_io_* functi
- Date: Fri, 8 May 2009 04:17:54 -0400 (EDT)
commit 8350292212bd20f9034aa8bb25ea9ab6555eed4e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Fri May 8 10:06:17 2009 +0200
Ref the default BraseroIO object so as to avoid having it destroyed every time a brasero_io_* function was called.
---
libbrasero-utils/brasero-io.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libbrasero-utils/brasero-io.c b/libbrasero-utils/brasero-io.c
index b1a9d39..ab734ed 100644
--- a/libbrasero-utils/brasero-io.c
+++ b/libbrasero-utils/brasero-io.c
@@ -153,6 +153,7 @@ brasero_io_get_default ()
}
singleton = g_object_new (BRASERO_TYPE_IO, NULL);
+ g_object_ref (singleton);
return singleton;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]