inspector: Remove some dead code

Since commit bffeae6203, the
tree path is not used for anything useful anymore, so do away
with it entirely.
This commit is contained in:
Matthias Clasen 2015-12-26 20:12:04 -05:00
parent f669ccca66
commit 787f600d33

View File

@ -979,7 +979,6 @@ gtk_inspector_object_tree_append_object (GtkInspectorObjectTree *wt,
const gchar *name)
{
GtkTreeIter iter;
GtkTreePath *path;
const gchar *class_name;
gchar *classes;
const gchar *label;
@ -1069,9 +1068,6 @@ gtk_inspector_object_tree_append_object (GtkInspectorObjectTree *wt,
g_free (classes);
path = gtk_tree_model_get_path (GTK_TREE_MODEL (wt->priv->model), &iter);
gtk_tree_path_free (path);
g_object_weak_ref (object, gtk_object_tree_remove_dead_object, wt);
data.wt = wt;