diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index 85fc6b98e..ffb3ad77e 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -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 );