Updated the about box to work properly with Gtk+2.10
[pspp] / src / ui / gui / syntax-editor-source.c
index dcb644a3036107582ee597b794fce67f52e01d4d..9e0a556482f2511f8a966b0046a8e3328c30ebd4 100644 (file)
@@ -52,7 +52,7 @@ name (const struct getl_interface *i)
   const struct syntax_editor_source *ses =
     (const struct syntax_editor_source *) i;
 
-  return window_name ((struct window_editor *) ses->se);
+  return window_name ((const struct editor_window *) ses->se);
 }