Fix if clause

Spotted by Kevin Hale Boyes
This commit is contained in:
Geert Janssens
2018-09-09 23:36:41 +02:00
parent d069b67d48
commit b2d99615ab

View File

@@ -452,8 +452,10 @@ gnc_split_reg_dispose(GObject *obj)
gsr->filter_text = NULL;
if (gsr->reg)
{
g_signal_handlers_disconnect_by_data (gsr->reg, gsr);
gtk_widget_destroy (GTK_WIDGET (gsr->reg));
}
gsr->reg = NULL;
}