X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Ft-test-options.c;h=1caac9c0f7d27224adfa7c8f63c3c3f3046b2b08;hb=deea66e1be0c3e783b159e1605a697d9e75861aa;hp=e57b29f500c1d7b2c4d624222a07af7fc0c7ce48;hpb=3c3d40ddf4819a9bf2c24d0c10c6bdc4ec525b96;p=pspp diff --git a/src/ui/gui/t-test-options.c b/src/ui/gui/t-test-options.c index e57b29f500..1caac9c0f7 100644 --- a/src/ui/gui/t-test-options.c +++ b/src/ui/gui/t-test-options.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007 Free Software Foundation + Copyright (C) 2007, 2012 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,10 +21,12 @@ #include "psppire-dialog.h" #include +#include "builder-wrapper.h" #include "helper.h" #include "t-test-options.h" #include "widget-io.h" +#include "psppire-scanf.h" #include #define _(msgid) gettext (msgid) @@ -60,8 +62,7 @@ tt_options_dialog_create (GtkWindow *parent) tto->xml = builder_new ("t-test.ui"); tto->confidence = - widget_scanf (_("Confidence Interval: %2d %%"), - &tto->conf_percent); + psppire_scanf_new (_("Confidence Interval: %2d %%"), &tto->conf_percent); tto->dialog = get_widget_assert (tto->xml, "options-dialog"); @@ -119,7 +120,7 @@ tt_options_dialog_run (struct tt_options_dialog *tto) } void -tt_options_dialog_append_syntax (struct tt_options_dialog *tto, GString *str) +tt_options_dialog_append_syntax (const struct tt_options_dialog *tto, GString *str) { g_string_append (str, "\t/MISSING=");