[gtk+] Clarify that gtk_builder_connect_signals can only be connected once
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Clarify that gtk_builder_connect_signals can only be connected once
- Date: Thu, 7 Jul 2011 18:42:27 +0000 (UTC)
commit a47528fd59899a04d983701def8873960502ed60
Author: Johan Dahlin <jdahlin litl com>
Date: Thu Jul 7 15:39:28 2011 -0300
Clarify that gtk_builder_connect_signals can only be connected once
gtk/gtkbuilder.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index d11fcf9..74a5999 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -1226,7 +1226,8 @@ gtk_builder_connect_signals_default (GtkBuilder *builder,
* It uses #GModule's introspective features (by opening the module %NULL)
* to look at the application's symbol table. From here it tries to match
* the signal handler names given in the interface description with
- * symbols in the application and connects the signals.
+ * symbols in the application and connects the signals. Note that this
+ * function can only be called once, subsequent calls will do nothing.
*
* Note that this function will not work correctly if #GModule is not
* supported on the platform.
@@ -1276,7 +1277,8 @@ gtk_builder_connect_signals (GtkBuilder *builder,
* by the gtk_builder_connect_signals() and gtk_builder_connect_signals_full()
* methods. It is mainly intended for interpreted language bindings, but
* could be useful where the programmer wants more control over the signal
- * connection process.
+ * connection process. Note that this function can only be called once,
+ * subsequent calls will do nothing.
*
* Since: 2.12
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]