[tracker/dbus-fd-experiment] tracker-store: Fixed warning about TrackerSteroidsPrivate
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment] tracker-store: Fixed warning about TrackerSteroidsPrivate
- Date: Mon, 21 Jun 2010 17:32:23 +0000 (UTC)
commit d206dc726ad67200b70f4f00e942c462429afaad
Author: Martyn Russell <martyn lanedo com>
Date: Mon Jun 21 15:45:41 2010 +0100
tracker-store: Fixed warning about TrackerSteroidsPrivate
Removed unused private and finalize code
src/tracker-store/tracker-steroids.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index e4a680b..3b4317e 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -44,11 +44,6 @@
G_DEFINE_TYPE (TrackerSteroids, tracker_steroids, G_TYPE_OBJECT)
-#define TRACKER_STEROIDS_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TRACKER_TYPE_STEROIDS, TrackerSteroidsPrivate))
-
-typedef struct {
-} TrackerSteroidsPrivate;
-
typedef struct {
DBusMessage *call_message;
int fd;
@@ -61,18 +56,9 @@ typedef struct {
gpointer user_data;
} InThreadPtr;
-static void tracker_steroids_finalize (GObject *object);
-
static void
tracker_steroids_class_init (TrackerSteroidsClass *klass)
{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (klass);
-
- object_class->finalize = tracker_steroids_finalize;
-
- g_type_class_add_private (object_class, sizeof (TrackerSteroidsPrivate));
}
static void
@@ -600,8 +586,3 @@ tracker_steroids_connection_filter (DBusConnection *connection,
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
-
-static void
-tracker_steroids_finalize (GObject *object)
-{
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]