forked from AuroraMiddleware/gtk
builder: avoid an uninitialized value
When g_module_supported() returns FALSE, args.module is garbage otherwise.
This commit is contained in:
parent
d637b0eeed
commit
e0738b1e43
@ -1642,6 +1642,8 @@ gtk_builder_connect_signals (GtkBuilder *builder,
|
||||
|
||||
if (g_module_supported ())
|
||||
args.module = g_module_open (NULL, G_MODULE_BIND_LAZY);
|
||||
else
|
||||
args.module = NULL;
|
||||
|
||||
gtk_builder_connect_signals_full (builder,
|
||||
gtk_builder_connect_signals_default,
|
||||
|
Loading…
Reference in New Issue
Block a user