summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-03 19:03:17 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:51 +0200
commitae33b1c624c008ca0818ab08735968c8d01fae1c (patch)
treeb1a55eebfabcb9b0a2ba2f892708b9cdbc384360 /libcaja-private/caja-icon-container.c
parent4895118afc287dc511792a5f91f109a2e1f868d0 (diff)
downloadcaja-ae33b1c624c008ca0818ab08735968c8d01fae1c.tar.bz2
caja-ae33b1c624c008ca0818ab08735968c8d01fae1c.tar.xz
[lc-p] use eel_canvas_item_destroy instead of gtk_object_destroy()
http://git.gnome.org/browse/nautilus/commit/?id=f5192b6990cd9240d126974dd587b7b7525ae714
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 0f6898c9..1ae2cb2a 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -300,7 +300,7 @@ static void
icon_free (CajaIcon *icon)
{
/* Destroy this canvas item; the parent will unref it. */
- gtk_object_destroy (GTK_OBJECT (icon->item));
+ eel_canvas_item_destroy (EEL_CANVAS_ITEM (icon->item));
g_free (icon);
}
@@ -2990,7 +2990,7 @@ stop_rubberbanding (CajaIconContainer *container,
/* Destroy this canvas item; the parent will unref it. */
eel_canvas_item_ungrab (band_info->selection_rectangle, time);
- gtk_object_destroy (GTK_OBJECT (band_info->selection_rectangle));
+ eel_canvas_item_destroy (band_info->selection_rectangle);
band_info->selection_rectangle = NULL;
/* if only one item has been selected, use it as range