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:
Matthias Clasen 2014-05-24 09:54:06 -04:00
parent 3f140d5391
commit a13d12a445

View File

@ -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);