X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Ft-test-options.c;h=ed8ac042daaf7e3e420eb739dcfd0e32a6ef24a1;hb=b94025a12799b6826a772731b8f58907dca2cf5c;hp=37bdc2298cb120d89b3c0f9fee72e7393a06c8dc;hpb=3b064b5cce148b1c7d5386553a87cda37913429f;p=pspp-builds.git diff --git a/src/ui/gui/t-test-options.c b/src/ui/gui/t-test-options.c index 37bdc229..ed8ac042 100644 --- a/src/ui/gui/t-test-options.c +++ b/src/ui/gui/t-test-options.c @@ -52,7 +52,7 @@ struct tt_options_dialog }; struct tt_options_dialog * -tt_options_dialog_create (GladeXML *xml, GtkWindow *parent) +tt_options_dialog_create (GtkBuilder *xml, GtkWindow *parent) { struct tt_options_dialog *tto = xmalloc (sizeof (*tto)); @@ -71,7 +71,7 @@ tt_options_dialog_create (GladeXML *xml, GtkWindow *parent) gtk_box_pack_start_defaults (GTK_BOX (tto->box), tto->confidence); - gtk_window_set_transient_for (parent, GTK_WINDOW (tto->dialog)); + gtk_window_set_transient_for (GTK_WINDOW (tto->dialog), parent); tto->confidence_interval = 95; tto->excl = EXCL_ANALYSIS;