[gimp] app: actually remove the node in gimp_item_remove_offset_node()



commit f84ed04ee511f8662652ac5493dcb93568761858
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]