[gimp/soc-2011-seamless-clone2] app: actually remove the node in gimp_item_remove_offset_node()
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: actually remove the node in gimp_item_remove_offset_node()
- Date: Wed, 8 May 2013 15:11:02 +0000 (UTC)
commit 13f5e0084bdb7a589d6be3f674f8f6edb71fb346
Author: Michael Natterer <mitch gimp org>
Date: Thu Apr 11 01:26:27 2013 +0200
app: actually remove the node in gimp_item_remove_offset_node()
The function is currently unused, so nobody noticed.
app/core/gimpitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpitem.c b/app/core/gimpitem.c
index 19ad113..61cd9d4 100644
--- a/app/core/gimpitem.c
+++ b/app/core/gimpitem.c
@@ -1634,7 +1634,7 @@ gimp_item_remove_offset_node (GimpItem *item,
g_return_if_fail (g_list_find (private->offset_nodes, node) != NULL);
- private->offset_nodes = g_list_append (private->offset_nodes, node);
+ private->offset_nodes = g_list_remove (private->offset_nodes, node);
g_object_unref (node);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]