[Xfce4-commits] [xfce/xfdesktop] 04/06: Release the file monitor
noreply at xfce.org
noreply at xfce.org
Fri Mar 14 18:51:27 CET 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit 2dd0f8d716ea29b48d5bec0f6e78b0b51e315820
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri Mar 14 19:13:39 2014 +0300
Release the file monitor
---
src/xfdesktop-regular-file-icon.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/xfdesktop-regular-file-icon.c b/src/xfdesktop-regular-file-icon.c
index 42d68d5..4de99cf 100644
--- a/src/xfdesktop-regular-file-icon.c
+++ b/src/xfdesktop-regular-file-icon.c
@@ -178,7 +178,10 @@ xfdesktop_regular_file_icon_finalize(GObject *obj)
if(icon->priv->thumbnail_file)
g_object_unref(icon->priv->thumbnail_file);
-
+
+ if(icon->priv->monitor)
+ g_object_unref(icon->priv->monitor);
+
G_OBJECT_CLASS(xfdesktop_regular_file_icon_parent_class)->finalize(obj);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list