preregister custom widgets so that GtkBuilder can find them
[pspp-builds.git] / src / ui / gui / psppire.c
index e434f0c4a508a6c2d42223b3415489582db7aabc..08b930e9fc166a7fd54ba8f54b045ae9d00be2c5 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "psppire-data-window.h"
 #include "psppire.h"
+#include "widgets.h"
 
 #include <libpspp/getl.h>
 #include <unistd.h>
@@ -94,6 +95,8 @@ initialize (struct command_line_processor *clp, int argc, char **argv)
   bindtextdomain (PACKAGE, locale_dir);
 
 
+  preregister_widgets ();
+
   gsl_set_error_handler_off ();
   fn_init ();
   outp_init ();