summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.c
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@svn.gnome.org>2008-02-10 06:59:52 +0000
committerPhilip Withnall <pwithnall@src.gnome.org>2008-02-10 06:59:52 +0000
commit5f12954d92c2d1126166e711e6ad3f2d6ab6ca0d (patch)
tree40402d8fb81467e1b5f54c514c0b06157cde6b28 /gtk/gtkbuilder.c
parentbbc6a7bf4230b51f500d781095f91465e5f9b9fa (diff)
downloadgtk+-5f12954d92c2d1126166e711e6ad3f2d6ab6ca0d.tar.gz
Improve the documentation for gtk_builder_connect_signals. (#514471)
2008-02-10 Philip Withnall <pwithnall@svn.gnome.org> * gtk/gtkbuilder.c: Improve the documentation for gtk_builder_connect_signals. (#514471) svn path=/trunk/; revision=19507
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r--gtk/gtkbuilder.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 0d1d05b892..87c42f60d4 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -850,6 +850,12 @@ gtk_builder_connect_signals_default (GtkBuilder *builder,
* Note that this function will not work correctly if #GModule is not
* supported on the platform.
*
+ * When compiling applications for Windows, you must declare signal callbacks
+ * with #G_MODULE_EXPORT, or they will not be put in the symbol table.
+ * On Linux and Unices, this is not necessary; applications should instead
+ * be compiled with the -Wl,--export-dynamic CFLAGS, and linked against
+ * gmodule-export-2.0.
+ *
* Since: 2.12
**/
void