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.
This commit is contained in:
Ryan Lortie
2013-07-27 18:15:17 -04:00
parent 20d0434b8c
commit 3bb059b6e8

View File

@@ -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;
}
}