X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpage-intro.c;h=56b182686c2502c2a186ce37854341624a3a6367;hb=001db1bf60acf85491463edcd557aad6e661195c;hp=a279079b1a19089226160572413e3a55e3f5f75e;hpb=5c210c96542db2a357cf1aa6b690ef2ea88a54b1;p=pspp diff --git a/src/ui/gui/page-intro.c b/src/ui/gui/page-intro.c index a279079b1a..56b182686c 100644 --- a/src/ui/gui/page-intro.c +++ b/src/ui/gui/page-intro.c @@ -71,7 +71,7 @@ void init_intro_page (struct import_assistant *ia) { GtkBuilder *builder = ia->asst.builder; - struct intro_page *p = &ia->intro; + struct intro_page *p = ia->intro; struct string s; GtkWidget *hbox_n_cases ; GtkWidget *hbox_percent ; @@ -153,7 +153,7 @@ init_intro_page (struct import_assistant *ia) void reset_intro_page (struct import_assistant *ia) { - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ia->intro.all_cases_button), + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ia->intro->all_cases_button), true); } @@ -161,7 +161,7 @@ reset_intro_page (struct import_assistant *ia) static void on_intro_amount_changed (struct import_assistant *ia) { - struct intro_page *p = &ia->intro; + struct intro_page *p = ia->intro; gtk_widget_set_sensitive (p->n_cases_spin, gtk_toggle_button_get_active (