Made the code relocatable (using the relocate function from gnulib).
[pspp-builds.git] / src / ui / gui / syntax-editor.c
index 4ca3dfe77532f3268c171728a6069dc1728a98a5..024181e6a910fca42083bb3e9d987b14958ed1c6 100644 (file)
@@ -308,8 +308,7 @@ on_run_to_end (GtkMenuItem *menuitem, gpointer user_data)
 struct syntax_editor *
 new_syntax_editor (void)
 {
-  GladeXML *xml =
-    glade_xml_new (PKGDATADIR "/syntax-editor.glade", NULL, NULL);
+  GladeXML *xml = XML_NEW ("syntax-editor.glade");
 
   GtkWidget *text_view;
   struct syntax_editor *se ;