Warnings: added cast for enumaration types
[pspp] / src / ui / gui / var-type-dialog.c
index 66eb0827f579ed1a595eafd4ea1e869573085f29..84b8baca0f1401b7d81661e4d7579953bde40826 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-    Copyright (C) 2005, 2006, 2010, 2011, 2012, 2015  Free Software Foundation
+   Copyright (C) 2005, 2006, 2010, 2011, 2012, 2015, 2020  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
 #include "ui/gui/psppire-format.h"
 #include "ui/gui/var-type-dialog.h"
 
+#include <gettext.h>
+#define _(msgid) gettext (msgid)
+#define N_(msgid) msgid
+
 static const struct fmt_spec date_format[] =
   {
     {FMT_DATE,  11, 0},
@@ -533,6 +537,9 @@ psppire_var_type_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_VAR_TYPE_DIALOG (obj);
 
+  g_object_set (dialog, "help-page", "Input-and-Output-Formats",
+               "title", _("Variable Type and Format"), NULL);
+
   xml = builder_new ("var-type-dialog.ui");
 
   content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));