[gtk+] Mention of -rdynamic in GtkBuilder lookup error
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Mention of -rdynamic in GtkBuilder lookup error
- Date: Sat, 27 Jul 2013 22:18:11 +0000 (UTC)
commit 3bb059b6e869b8d4c8d5dda2b16fbc95347e0313
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Jul 27 18:15:17 2013 -0400
Mention of -rdynamic in GtkBuilder lookup error
We toss a g_warning() if we can't find the user's signal handler. A good chunk
of the time this will be because they didn't use -rdynamic. Add a note about
that.
gtk/gtkbuilder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 1006619..5e3af21 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -1579,7 +1579,7 @@ gtk_builder_connect_signals_default (GtkBuilder *builder,
if (!g_module_symbol (args->module, handler_name, (gpointer)&func))
{
- g_warning ("Could not find signal handler '%s'", handler_name);
+ g_warning ("Could not find signal handler '%s'. Did you compile with -rdynamic?", handler_name);
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]