[gnumeric] Fixed consolidate_ref/unref.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fixed consolidate_ref/unref.
- Date: Thu, 16 Aug 2012 20:23:38 +0000 (UTC)
commit 10b54eca7fcc636086bfefc53b6540133b5985c5
Author: Jean Brefort <jean brefort normalesup org>
Date: Thu Aug 16 22:23:15 2012 +0200
Fixed consolidate_ref/unref.
src/consolidate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/consolidate.c b/src/consolidate.c
index 7cbed38..4fa8e5e 100644
--- a/src/consolidate.c
+++ b/src/consolidate.c
@@ -141,9 +141,10 @@ static GnmConsolidate *
gnm_consolidate_ref (GnmConsolidate *cs)
{
cs->ref_count++;
+ return cs;
}
-static GnmConsolidate *
+static void
gnm_consolidate_unref (GnmConsolidate *cs)
{
cs->ref_count--;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]