summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-07-27 18:15:17 -0400
committerRyan Lortie <desrt@desrt.ca>2013-07-27 18:15:17 -0400
commit3bb059b6e869b8d4c8d5dda2b16fbc95347e0313 (patch)
treea02ce5a7e6b73ad7d2f334e419c460f0b32e6c33 /gtk/gtkbuilder.c
parent20d0434b8cb3908ec05cef4d80b3c499ec449f52 (diff)
downloadgtk+-3bb059b6e869b8d4c8d5dda2b16fbc95347e0313.tar.gz
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.
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r--gtk/gtkbuilder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 1006619af9..5e3af21a7b 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;
}
}