aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/apt-watcher.c6
-rw-r--r--src/indicator-session.c1
-rw-r--r--src/session-dbus.xml3
3 files changed, 1 insertions, 9 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c
index e757896..346b8a9 100644
--- a/src/apt-watcher.c
+++ b/src/apt-watcher.c
@@ -144,11 +144,7 @@ fetch_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data)
g_signal_connect (self->proxy,
"g-signal",
G_CALLBACK(apt_watcher_signal_cb),
- self);
-
- /*self->reboot_query = g_timeout_add_seconds (5,
- apt_watcher_query_reboot_status,
- self);*/
+ self);
}
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 3b5a7c3..aacef49 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -498,7 +498,6 @@ receive_signal (GDBusProxy * proxy,
}
}
else if (g_strcmp0(signal_name, "RestartRequired") == 0) {
- g_debug ("Reboot required, icon changed to %s", ICON_RESTART);
self->devices.image = indicator_image_helper (ICON_RESTART);
}
}
diff --git a/src/session-dbus.xml b/src/session-dbus.xml
index 076e595..96e9837 100644
--- a/src/session-dbus.xml
+++ b/src/session-dbus.xml
@@ -8,9 +8,6 @@
<method name="GetUserMenuVisibility">
<arg name="update" direction="out" type="b"/>
</method>
- <method name="IsRestartNeeded">
- <arg name="update" direction="out" type="b"/>
- </method>
<signal name="UserRealNameUpdated">
<arg name="name" type="s"/>
</signal>