[gnumeric] AutoFormat: use the new goc_item_destroy.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] AutoFormat: use the new goc_item_destroy.
- Date: Mon, 14 Sep 2009 17:02:45 +0000 (UTC)
commit 0d6cc51c8654da16545a9ecaf568bad136273bc0
Author: Morten Welinder <terra gnome org>
Date: Mon Sep 14 13:02:21 2009 -0400
AutoFormat: use the new goc_item_destroy.
src/dialogs/dialog-autoformat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/dialog-autoformat.c b/src/dialogs/dialog-autoformat.c
index 89e55b6..158c5fa 100644
--- a/src/dialogs/dialog-autoformat.c
+++ b/src/dialogs/dialog-autoformat.c
@@ -274,14 +274,14 @@ previews_free (AutoFormatState *state)
return;
if (state->selrect) {
- g_object_unref (state->selrect);
+ goc_item_destroy (state->selrect);
state->selrect = NULL;
}
for (i = 0; i < NUM_PREVIEWS; i++) {
GocItem *item = state->grid[i];
if (item) {
- g_object_unref (state->grid[i]);
+ goc_item_destroy (state->grid[i]);
state->grid[i] = NULL;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]