[tracker/miner-fs-initable-iface] tracker-miner-fs: Don't set object->finalize if we just hook up parent finalize
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-initable-iface] tracker-miner-fs: Don't set object->finalize if we just hook up parent finalize
- Date: Wed, 2 Feb 2011 17:20:23 +0000 (UTC)
commit 1ef394cb981ec9b3b7d6551e989ffa73d9c57376
Author: Martyn Russell <martyn lanedo com>
Date: Wed Feb 2 17:17:38 2011 +0000
tracker-miner-fs: Don't set object->finalize if we just hook up parent finalize
src/miners/fs/tracker-miner-applications.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-applications.c b/src/miners/fs/tracker-miner-applications.c
index 67b543e..1c152d0 100644
--- a/src/miners/fs/tracker-miner-applications.c
+++ b/src/miners/fs/tracker-miner-applications.c
@@ -37,7 +37,6 @@
#define SOFTWARE_CATEGORY_URN_PREFIX "urn:software-category:"
#define THEME_ICON_URN_PREFIX "urn:theme-icon:"
-static void miner_applications_finalize (GObject *object);
static void miner_applications_initable_iface_init (GInitableIface *iface);
static gboolean miner_applications_initable_init (GInitable *initable,
GCancellable *cancellable,
@@ -79,11 +78,8 @@ G_DEFINE_TYPE_WITH_CODE (TrackerMinerApplications, tracker_miner_applications, T
static void
tracker_miner_applications_class_init (TrackerMinerApplicationsClass *klass)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
TrackerMinerFSClass *miner_fs_class = TRACKER_MINER_FS_CLASS (klass);
- object_class->finalize = miner_applications_finalize;
-
miner_fs_class->check_file = miner_applications_check_file;
miner_fs_class->check_directory = miner_applications_check_directory;
miner_fs_class->monitor_directory = miner_applications_monitor_directory;
@@ -144,12 +140,6 @@ miner_applications_initable_init (GInitable *initable,
}
static void
-miner_applications_finalize (GObject *object)
-{
- G_OBJECT_CLASS (tracker_miner_applications_parent_class)->finalize (object);
-}
-
-static void
insert_data_from_desktop_file (TrackerSparqlBuilder *sparql,
const gchar *subject,
const gchar *metadata_key,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]