aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-31 14:32:07 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-31 14:32:07 +0100
commit55a161683098d17364d9f521d2f4b97f89298297 (patch)
tree73ce5a277bb82c243772fd4bffd8d9f28e114cae /src
parent254ca429137d15b4814b171c96a7d92f1a46b2da (diff)
downloadayatana-indicator-session-55a161683098d17364d9f521d2f4b97f89298297.tar.gz
ayatana-indicator-session-55a161683098d17364d9f521d2f4b97f89298297.tar.bz2
ayatana-indicator-session-55a161683098d17364d9f521d2f4b97f89298297.zip
tidy up
Diffstat (limited to 'src')
-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>