- s_button = gtk_button_new();
- gtk_widget_set_parent( s_button, treewidget );
- gtk_widget_realize( s_button );
+ GtkTreeViewColumn* column = gtk_tree_view_column_new();
+ gtk_tree_view_append_column(GTK_TREE_VIEW(treewidget), column);
+ s_button = column->button;