aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-06 14:39:51 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-06 14:39:51 -0500
commitf2310de23a3012fd579a659a99b09b030e9df108 (patch)
tree2ddae1dbc1a9dcdadafc2fdd745c4922c533cc98 /src
parent15d6b254b2a9fcdca5fd76c8f58c8a0274e63322 (diff)
downloadayatana-indicator-power-f2310de23a3012fd579a659a99b09b030e9df108.tar.gz
ayatana-indicator-power-f2310de23a3012fd579a659a99b09b030e9df108.tar.bz2
ayatana-indicator-power-f2310de23a3012fd579a659a99b09b030e9df108.zip
add a GTK-Doc signal comment block for indictor-power-dbus-listener's enumerated signal
Diffstat (limited to 'src')
-rw-r--r--src/dbus-listener.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/dbus-listener.c b/src/dbus-listener.c
index 7f399f4..9143a25 100644
--- a/src/dbus-listener.c
+++ b/src/dbus-listener.c
@@ -64,13 +64,20 @@ indicator_power_dbus_listener_class_init (IndicatorPowerDbusListenerClass *klass
object_class->dispose = indicator_power_dbus_listener_dispose;
object_class->finalize = indicator_power_dbus_listener_finalize;
- /* signals */
+ /**
+ * IndicatorPowerDbusListener::indicator-power-dbus-listener-devices-enumerated:
+ *
+ * @listener: the IndicatorPowerDbusListener
+ * @devices: a GSList of #IndicatorPowerDevice objects. (transfer none)
+ *
+ * This is emitted each time a new set of devices is enumerated over the bus.
+ */
signals[SIGNAL_DEVICES] = g_signal_new (INDICATOR_POWER_DBUS_LISTENER_DEVICES_ENUMERATED,
G_TYPE_FROM_CLASS(klass), 0,
G_STRUCT_OFFSET (IndicatorPowerDbusListenerClass, devices_enumerated),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1, G_TYPE_POINTER, G_TYPE_NONE);
+ G_TYPE_NONE, 1, G_TYPE_POINTER);
}
/* Initialize an instance */