From ff8009b3c32855ce7f88ed1821e48ebc73de97da Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 13 Apr 2011 19:00:41 +0100 Subject: [PATCH] dbus_g_proxy_add_signal: document error cases Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36216 --- dbus/dbus-gproxy.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dbus/dbus-gproxy.c b/dbus/dbus-gproxy.c index c683b44..da802ea 100644 --- a/dbus/dbus-gproxy.c +++ b/dbus/dbus-gproxy.c @@ -2931,7 +2931,10 @@ array_free_all (gpointer array) * emitted by the remote object, if the GTypes corresponding to its arguments' * types do not match the types given here, the signal will be ignored. * - * It is an error to call this method on a proxy that has emitted + * It is an error to add the same @signal_name to the same @proxy more than + * once, even if the argument types given are the same. + * + * It is also an error to call this method on a proxy that has emitted * the #DBusGProxy::destroy signal. */ void -- 1.7.4.4