Commit 0f732694 authored by Michael Natterer's avatar Michael Natterer 😴

app: remove "item" parameter from gimp_canvas_proxy_group_remove_item()

parent 75b4c809
......@@ -169,19 +169,19 @@ gimp_canvas_proxy_group_add_item (GimpCanvasProxyGroup *group,
void
gimp_canvas_proxy_group_remove_item (GimpCanvasProxyGroup *group,
gpointer object,
GimpCanvasItem *proxy_item)
gpointer object)
{
GimpCanvasProxyGroupPrivate *private;
GimpCanvasItem *proxy_item;
g_return_if_fail (GIMP_IS_CANVAS_GROUP (group));
g_return_if_fail (object != NULL);
g_return_if_fail (GIMP_IS_CANVAS_ITEM (proxy_item));
private = GET_PRIVATE (group);
g_return_if_fail (g_hash_table_lookup (private->proxy_hash, object) ==
proxy_item);
proxy_item = g_hash_table_lookup (private->proxy_hash, object);
g_return_if_fail (proxy_item != NULL);
g_hash_table_remove (private->proxy_hash, object);
......
......@@ -55,8 +55,7 @@ void gimp_canvas_proxy_group_add_item (GimpCanvasProxyGroup *grou
gpointer object,
GimpCanvasItem *proxy_item);
void gimp_canvas_proxy_group_remove_item (GimpCanvasProxyGroup *group,
gpointer object,
GimpCanvasItem *proxy_item);
gpointer object);
GimpCanvasItem * gimp_canvas_proxy_group_get_item (GimpCanvasProxyGroup *group,
gpointer object);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment