summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-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 6b753b31..b082f9b7 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -7946,11 +7946,11 @@ caja_icon_container_remove (CajaIconContainer *container,
return FALSE;
}
+ g_signal_emit (container, signals[ICON_REMOVED], 0, icon);
+
icon_destroy (container, icon);
schedule_redo_layout (container);
- g_signal_emit (container, signals[ICON_REMOVED], 0, icon);
-
return TRUE;
}