forked from AuroraMiddleware/gtk
inspector: avoid a warning on destroy
We are only hiding the window now, so a memory management error has crept into the destroy path.
This commit is contained in:
parent
e012dfab2c
commit
372e551a66
@ -311,7 +311,8 @@ cleanup_object (GtkInspectorPropList *pl)
|
|||||||
pl->priv->notify_handler_id = 0;
|
pl->priv->notify_handler_id = 0;
|
||||||
|
|
||||||
g_hash_table_remove_all (pl->priv->prop_iters);
|
g_hash_table_remove_all (pl->priv->prop_iters);
|
||||||
gtk_list_store_clear (pl->priv->model);
|
if (pl->priv->model)
|
||||||
|
gtk_list_store_clear (pl->priv->model);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user