Remove almost all instances of GtkCellRenderer in code (all but dnd icon
Fri May 25 19:04:17 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all instances of GtkCellRenderer in code (all but dnd icon code). Virtualized in GtkTreeViewColumn. Now I need to move focus in there, and I can do multiple Cells per column. * gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug when model was unreffed prior to removing the row reference.
This commit is contained in:
committed by
Jonathan Blandford
parent
e05472202d
commit
710fb020bf
@ -421,7 +421,7 @@ get_visible (GtkTreeViewColumn *tree_column,
|
||||
if (column)
|
||||
{
|
||||
gtk_cell_renderer_toggle_set_active (GTK_CELL_RENDERER_TOGGLE (cell),
|
||||
column->visible);
|
||||
gtk_tree_view_column_get_visible (column));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -158,6 +158,7 @@ col_clicked_cb (GtkTreeViewColumn *col, gpointer data)
|
||||
static void
|
||||
setup_column (GtkTreeViewColumn *col)
|
||||
{
|
||||
gtk_tree_view_column_set_clickable (col, TRUE);
|
||||
g_signal_connect_data (G_OBJECT (col),
|
||||
"clicked",
|
||||
(GCallback) col_clicked_cb,
|
||||
|
||||
Reference in New Issue
Block a user