From 5f12954d92c2d1126166e711e6ad3f2d6ab6ca0d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sun, 10 Feb 2008 06:59:52 +0000 Subject: [PATCH] Improve the documentation for gtk_builder_connect_signals. (#514471) 2008-02-10 Philip Withnall * gtk/gtkbuilder.c: Improve the documentation for gtk_builder_connect_signals. (#514471) svn path=/trunk/; revision=19507 --- ChangeLog | 5 +++++ gtk/gtkbuilder.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5c7a67075..5c253dc12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-10 Philip Withnall + + * gtk/gtkbuilder.c: Improve the documentation for + gtk_builder_connect_signals. (#514471) + 2008-02-10 Matthias Clasen * gtk/gtkrecentaction.c: Propagate local-only. (#511987, diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 0d1d05b89..87c42f60d 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