inspector: Drop type name from node list

It's not used anymore in the CSS, so people don't need to see it.
This commit is contained in:
Benjamin Otte
2016-02-05 19:31:03 +01:00
parent 0c12601208
commit fe6d4cbdf5
2 changed files with 7 additions and 27 deletions

View File

@ -47,7 +47,6 @@
enum {
COLUMN_NODE_NAME,
COLUMN_NODE_TYPE,
COLUMN_NODE_VISIBLE,
COLUMN_NODE_CLASSES,
COLUMN_NODE_ID,
@ -414,10 +413,6 @@ gtk_inspector_css_node_tree_get_node_value (GtkTreeModelCssNode *model,
g_value_set_string (value, gtk_css_node_get_name (node));
break;
case COLUMN_NODE_TYPE:
g_value_set_string (value, g_type_name (gtk_css_node_get_widget_type (node)));
break;
case COLUMN_NODE_VISIBLE:
g_value_set_boolean (value, gtk_css_node_get_visible (node));
break;
@ -457,7 +452,6 @@ gtk_inspector_css_node_tree_init (GtkInspectorCssNodeTree *cnt)
priv->node_model = gtk_tree_model_css_node_new (gtk_inspector_css_node_tree_get_node_value,
N_NODE_COLUMNS,
G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_BOOLEAN,
G_TYPE_STRING,
G_TYPE_STRING,