diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-08-12 13:23:35 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-08-12 13:23:35 +0100 |
commit | 95b5c6328bbee9bda1473d8c8af3bbed8eba67f8 (patch) | |
tree | 742524abc17892e4f1fb8551631887116e999260 /src/apt-watcher.c | |
parent | fb32494de9b55663cec088ade6967da349c0cac7 (diff) | |
download | ayatana-indicator-session-95b5c6328bbee9bda1473d8c8af3bbed8eba67f8.tar.gz ayatana-indicator-session-95b5c6328bbee9bda1473d8c8af3bbed8eba67f8.tar.bz2 ayatana-indicator-session-95b5c6328bbee9bda1473d8c8af3bbed8eba67f8.zip |
fixed the misguided software available flag
Diffstat (limited to 'src/apt-watcher.c')
-rw-r--r-- | src/apt-watcher.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c index 72a63ac..7d706a0 100644 --- a/src/apt-watcher.c +++ b/src/apt-watcher.c @@ -281,8 +281,9 @@ apt_watcher_transaction_state_update_cb (AptTransaction* trans, _("Reboot Required")); session_dbus_restart_required (self->session_dbus_interface); } + g_debug ("Finished with a reboot value of %i", reboot); g_object_unref (G_OBJECT(self->current_transaction)); - self->current_transaction = NULL; + self->current_transaction = NULL; } self->current_state = state; } @@ -327,9 +328,7 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy, self->current_transaction = apt_transaction_new (input, REAL); g_signal_connect (G_OBJECT(self->current_transaction), "state-update", - G_CALLBACK(apt_watcher_transaction_state_update_cb), self); - - + G_CALLBACK(apt_watcher_transaction_state_update_cb), self); } } g_variant_unref (parameters); |