Update widgets.c from psppsheet branch 20120826000503/pspp 20120910030509/pspp 20120911030519/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 25 Aug 2012 16:58:31 +0000 (18:58 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 25 Aug 2012 16:58:31 +0000 (18:58 +0200)
src/ui/gui/widgets.c

index 0da5c6c73fd0a97db6e07044dce58ae09d7c9b03..f6dbede80fe31454a3fe80e3ec1ac6be9341231b 100644 (file)
@@ -1,5 +1,7 @@
 #include <config.h>
 
+#include <gtksourceview/gtksourceview.h>
+
 #include "widgets.h"
 
 
@@ -61,4 +63,8 @@ preregister_widgets (void)
   psppire_dialog_action_regression_get_type ();
   psppire_dialog_action_roc_get_type ();
   psppire_dialog_action_sort_get_type ();
+
+  /* This seems to be necessary on Cygwin.
+     It ought not to be necessary.  Having it here can't do any harm. */
+  (void) gtk_source_view_get_type ();
 }