[tracker/tracker-0.10] miners/fs: Codestyle improvements
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] miners/fs: Codestyle improvements
- Date: Mon, 1 Aug 2011 16:19:01 +0000 (UTC)
commit 6d80b0c70be5d8dd08e7433a071b2f577c7b7750
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Jul 22 17:37:48 2011 +0200
miners/fs: Codestyle improvements
src/miners/fs/tracker-writeback-dispatcher.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-writeback-dispatcher.c b/src/miners/fs/tracker-writeback-dispatcher.c
index 43c2ee7..0290da2 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.c
+++ b/src/miners/fs/tracker-writeback-dispatcher.c
@@ -167,7 +167,6 @@ writeback_dispatcher_finalize (GObject *object)
}
}
-
static void
tracker_writeback_dispatcher_init (TrackerWritebackDispatcher *object)
{
@@ -233,6 +232,7 @@ writeback_file_data_free (WritebackFileData *data)
if (data->self) {
g_object_weak_unref (G_OBJECT (data->self), self_weak_notify, data);
}
+
g_object_unref (data->fs);
g_object_unref (data->file);
g_strfreev (data->rdf_types);
@@ -244,11 +244,14 @@ static void
self_weak_notify (gpointer data, GObject *where_the_object_was)
{
WritebackFileData *udata = data;
+
/* Shut down while retrying writeback */
g_debug ("Shutdown while retrying WRITEBACK after unmount, not retrying anymore");
+
if (udata->retry_timeout != 0) {
g_source_remove (udata->retry_timeout);
}
+
udata->self = NULL;
writeback_file_data_free (udata);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]