[Xfce4-commits] <thunar:nick/gtk3> Add idea TODO.
Nick Schermer
noreply at xfce.org
Tue May 15 20:18:01 CEST 2012
Updating branch refs/heads/nick/gtk3
to ac6b8bd5464cdf3d555d0514b73316e523b7e050 (commit)
from a2fe7889b28e5029fe49996f1c7ea83a00d55761 (commit)
commit ac6b8bd5464cdf3d555d0514b73316e523b7e050
Author: Nick Schermer <nick at xfce.org>
Date: Tue May 15 20:16:04 2012 +0200
Add idea TODO.
thunar/thunar-folder.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-folder.c b/thunar/thunar-folder.c
index 6b447bf..799a360 100644
--- a/thunar/thunar-folder.c
+++ b/thunar/thunar-folder.c
@@ -820,6 +820,11 @@ void
thunar_folder_destroy (ThunarFolder *folder)
{
_thunar_return_if_fail (THUNAR_IS_FOLDER (folder));
+
+ /* TODO maybe this can be moved to the dispose signal and
+ * emitted once there. there we can use g_object_unref on
+ * folders */
g_signal_emit (G_OBJECT (folder), folder_signals[DESTROY], 0);
+
g_object_unref (G_OBJECT (folder));
}
More information about the Xfce4-commits
mailing list