From f9944e6d96392a0237bd5a09c8af4285e9816228 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 5 Mar 2017 22:09:03 -0500 Subject: [PATCH] daemon: Remove several unused instance variables These were leftovers from the very original code which did support exit-on-idle; we're going to do it differently now. Closes: #659 Approved by: jlebon --- src/daemon/rpmostreed-daemon.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/daemon/rpmostreed-daemon.c b/src/daemon/rpmostreed-daemon.c index dae27b1d..66079712 100644 --- a/src/daemon/rpmostreed-daemon.c +++ b/src/daemon/rpmostreed-daemon.c @@ -44,15 +44,6 @@ typedef struct _RpmostreedDaemonClass RpmostreedDaemonClass; struct _RpmostreedDaemon { GObject parent_instance; - gboolean on_message_bus; - guint use_count; - - gint64 last_message; - guint ticker_id; - - GMutex mutex; - gint num_tasks; - RpmostreedSysroot *sysroot; gchar *sysroot_path; @@ -99,11 +90,6 @@ daemon_finalize (GObject *object) g_object_unref (self->connection); - if (self->ticker_id > 0) - g_source_remove (self->ticker_id); - - g_mutex_clear (&self->mutex); - g_free (self->sysroot_path); G_OBJECT_CLASS (rpmostreed_daemon_parent_class)->finalize (object); @@ -163,12 +149,8 @@ rpmostreed_daemon_init (RpmostreedDaemon *self) g_assert (_daemon_instance == NULL); _daemon_instance = self; - self->num_tasks = 0; - self->last_message = g_get_monotonic_time (); self->sysroot_path = NULL; self->sysroot = NULL; - - g_mutex_init (&self->mutex); } static gboolean