[tracker/libtracker-miner] Make sure we call the parent class constructed first
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-miner] Make sure we call the parent class constructed first
- Date: Wed, 26 Aug 2009 16:08:27 +0000 (UTC)
commit 80560c89e420022dac7b42e1faf2f34c0604897d
Author: Martyn Russell <martyn lanedo com>
Date: Wed Aug 26 17:07:51 2009 +0100
Make sure we call the parent class constructed first
src/tracker-miner-fs/tracker-miner-applications.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-miner-applications.c b/src/tracker-miner-fs/tracker-miner-applications.c
index 6fd6529..1618c73 100644
--- a/src/tracker-miner-fs/tracker-miner-applications.c
+++ b/src/tracker-miner-fs/tracker-miner-applications.c
@@ -83,6 +83,8 @@ miner_applications_constructed (GObject *object)
{
GFile *file;
+ G_OBJECT_CLASS (tracker_miner_applications_parent_class)->constructed (object);
+
file = g_file_new_for_path ("/usr/share/applications/");
tracker_miner_fs_add_directory (TRACKER_MINER_FS (object), file, TRUE);
g_object_unref (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]