forked from AuroraMiddleware/gtk
inspector: Make picking widgets work again
This broke when I accidentally removed the line that adds each object to the hash table. Bring it back.
This commit is contained in:
parent
3f140d5391
commit
a13d12a445
@ -313,6 +313,8 @@ gtk_inspector_widget_tree_append_object (GtkInspectorWidgetTree *wt,
|
||||
path = gtk_tree_model_get_path (GTK_TREE_MODEL (wt->priv->model), &iter);
|
||||
od->row = gtk_tree_row_reference_new (GTK_TREE_MODEL (wt->priv->model), path);
|
||||
gtk_tree_path_free (path);
|
||||
|
||||
g_hash_table_insert (wt->priv->iters, object, od);
|
||||
g_object_weak_ref (object, remove_dead_object, od);
|
||||
|
||||
g_free (address);
|
||||
|
Loading…
Reference in New Issue
Block a user