mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
gtk: the tiniest bit of cleanup
Trying and failing to get just the content area of the tree view to scroll, whether by putting it in its own container or hooking into the scrollable interface tree view allegedly supports.
This commit is contained in:
parent
06fb4ef0ee
commit
457970b2d2
1 changed files with 1 additions and 1 deletions
|
@ -158,6 +158,7 @@ static GtkWidget*
|
|||
init_games_list( GtkAppGlobals* apg )
|
||||
{
|
||||
GtkWidget* list = gtk_tree_view_new();
|
||||
apg->listWidget = list;
|
||||
|
||||
addTextColumn( list, "Row", ROW_ITEM );
|
||||
addImageColumn( list, "Snap", ROW_THUMB );
|
||||
|
@ -516,7 +517,6 @@ makeGamesWindow( GtkAppGlobals* apg )
|
|||
gtk_container_add( GTK_CONTAINER(swin), vbox );
|
||||
gtk_widget_show( vbox );
|
||||
GtkWidget* list = init_games_list( apg );
|
||||
apg->listWidget = list;
|
||||
gtk_container_add( GTK_CONTAINER(vbox), list );
|
||||
|
||||
gtk_widget_show( list );
|
||||
|
|
Loading…
Reference in a new issue