builder: avoid an uninitialized value

When g_module_supported() returns FALSE, args.module is garbage
otherwise.
This commit is contained in:
Timm Bäder 2017-02-16 12:21:23 +01:00
parent d637b0eeed
commit e0738b1e43

View File

@ -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,