Made the code relocatable (using the relocate function from gnulib).
[pspp-builds.git] / src / ui / gui / var-sheet.c
index 7936144951e15070fb0e1dd828ea20df53399cd0..7d5b4465676686cd2f690816ad2a9f79c655fc0b 100644 (file)
@@ -222,7 +222,7 @@ var_sheet_cell_entry_enter (GtkSheet * sheet, gint row, gint column,
   if ( row >= psppire_var_store_get_var_cnt (var_store))
     return TRUE;
 
-  xml = glade_xml_new (PKGDATADIR "/data-editor.glade", NULL, NULL);
+  xml = XML_NEW ("data-editor.glade");
 
   gtk_sheet_get_attributes (sheet, row, column, &attributes);