Make GtkCellArea use GtkStyleContext

gtk_cell_area_[gs]et_style_detail() is no longer needed, as
the passed widget's context would already have all necessary
info.
This commit is contained in:
Carlos Garnacho
2011-01-12 21:07:05 +01:00
parent f96aae68f4
commit 41d6837fa2
6 changed files with 12 additions and 77 deletions

View File

@ -496,8 +496,6 @@ gtk_tree_view_column_constructor (GType type,
g_object_ref_sink (priv->cell_area);
}
gtk_cell_area_set_style_detail (priv->cell_area, "treeview");
priv->add_editable_signal =
g_signal_connect (priv->cell_area, "add-editable",
G_CALLBACK (gtk_tree_view_column_add_editable_callback),