aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 09:17:50 -0500
committerTed Gould <ted@canonical.com>2009-08-26 09:17:50 -0500
commit9efbade0a88f7ebce9ceb8d06293b1d636d02672 (patch)
treed660348f639e32ce7d0c9ce051fc34445f58d093
parent96b2dc1cc2be79cdda2fb109eebe2f4bab6551d9 (diff)
downloadayatana-indicator-messages-9efbade0a88f7ebce9ceb8d06293b1d636d02672.tar.gz
ayatana-indicator-messages-9efbade0a88f7ebce9ceb8d06293b1d636d02672.tar.bz2
ayatana-indicator-messages-9efbade0a88f7ebce9ceb8d06293b1d636d02672.zip
Some comments.
-rw-r--r--src/messages-service-dbus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/messages-service-dbus.c b/src/messages-service-dbus.c
index 5ce7695..da91af5 100644
--- a/src/messages-service-dbus.c
+++ b/src/messages-service-dbus.c
@@ -85,12 +85,15 @@ message_service_dbus_new (void)
return MESSAGE_SERVICE_DBUS(g_object_new(MESSAGE_SERVICE_DBUS_TYPE, NULL));
}
+/* DBus function to say that someone is watching */
static void
_messages_service_server_watch (void)
{
}
+/* DBus interface to request the private variable to know
+ whether there is a green dot. */
static gboolean
_messages_service_server_attention_requested (MessageServiceDbus * self, gboolean * dot, GError ** error)
{
@@ -99,6 +102,8 @@ _messages_service_server_attention_requested (MessageServiceDbus * self, gboolea
return TRUE;
}
+/* DBus interface to request the private variable to know
+ whether the icon is hidden. */
static gboolean
_messages_service_server_icon_shown (MessageServiceDbus * self, gboolean * hidden, GError ** error)
{