Removed all variables from GtkTreeViewColumn and created GtkTreeViewColumnPrivate

Some details:
  - button_request was not needed, consult the minimum request of the button
  - gtk_tree_view_column_get_button() needed to be public as people can set
    tooltips on the button (and libgail accesses the button).
This commit is contained in:
Tristan Van Berkom
2010-11-30 14:29:45 +09:00
parent f24c21f1f0
commit 9f4f22faf1
6 changed files with 944 additions and 641 deletions

View File

@ -4651,7 +4651,7 @@ get_header_from_column (GtkTreeViewColumn *tv_col)
/* If the user has not set a header object, grab the column */
/* header object defined by the GtkTreeView */
header_widget = tv_col->button;
header_widget = gtk_tree_view_column_get_button (tv_col);
if (header_widget)
{