diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-30 14:29:45 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-05 22:11:08 +0900 |
commit | 9f4f22faf1d92d2ee8bc50c58b763e20e3f1e752 (patch) | |
tree | 60819f351f297a6f2a40812dbc2b0d9a0b34537c /tests/testtooltips.c | |
parent | f24c21f1f09590127f552187395aa0d5cf8bf60d (diff) | |
download | gtk+-9f4f22faf1d92d2ee8bc50c58b763e20e3f1e752.tar.gz |
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).
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r-- | tests/testtooltips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c index 54c2e05b88..483b8fd2a3 100644 --- a/tests/testtooltips.c +++ b/tests/testtooltips.c @@ -359,7 +359,7 @@ main (int argc, char *argv[]) /* Set a tooltip on the column */ column = gtk_tree_view_get_column (GTK_TREE_VIEW (tree_view), 0); gtk_tree_view_column_set_clickable (column, TRUE); - g_object_set (column->button, "tooltip-text", "Header", NULL); + g_object_set (gtk_tree_view_column_get_button (column), "tooltip-text", "Header", NULL); gtk_box_pack_start (GTK_BOX (box), tree_view, FALSE, FALSE, 2); |