Finish converting struct variable to an opaque type. In this
[pspp-builds.git] / src / ui / gui / missing-val-dialog.c
index f81411eb0db8220a5560ba43b04a28ed3c6a1172..945cebe3aa55d93d18e228642feac7fdfcc2985a 100644 (file)
 /*  This module describes the behaviour of the Missing Values dialog box,
     used for input of the missing values in the variable sheet */
 
+#include <config.h>
+#include <gettext.h>
+#define _(msgid) gettext (msgid)
+#define N_(msgid) msgid
+
+
 #include "helper.h"
 #include "missing-val-dialog.h"
 #include <data/missing-values.h>
@@ -33,7 +39,6 @@
 
 #include <string.h>
 
-#define _(A) A
 
 /* A simple (sub) dialog box for displaying user input errors */
 static void
@@ -274,7 +279,7 @@ missing_val_dialog_show(struct missing_val_dialog *dialog)
   gtk_widget_set_sensitive(dialog->discrete, FALSE);   
 
   gtk_widget_set_sensitive(GTK_WIDGET(dialog->button_range), 
-                          psppire_variable_get_type(dialog->pv) == NUMERIC);
+                          psppire_variable_get_type(dialog->pv) == VAR_NUMERIC);
 
   for(i = 0 ; i < 3 ; ++i ) 
     {