projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made the code relocatable (using the relocate function from gnulib).
[pspp-builds.git]
/
src
/
ui
/
gui
/
helper.h
diff --git
a/src/ui/gui/helper.h
b/src/ui/gui/helper.h
index a0c36bd68bb6f84518e2bb0363c430dfefdbf37a..079f6d925c65cd1912a7fe7cde3c7ab35675cae5 100644
(file)
--- a/
src/ui/gui/helper.h
+++ b/
src/ui/gui/helper.h
@@
-21,6
+21,8
@@
#ifndef __MISC_H__
#define __MISC_H__
#ifndef __MISC_H__
#define __MISC_H__
+#include "relocatable.h"
+
#include <data/value.h>
#include <data/format.h>
#include <data/value.h>
#include <data/format.h>
@@
-49,4
+51,9
@@
struct getl_interface;
gboolean execute_syntax (struct getl_interface *sss);
gboolean execute_syntax (struct getl_interface *sss);
+#define XML_NEW(FILE) \
+ glade_xml_new (relocate(PKGDATADIR "/" FILE), NULL, NULL)
+
+
+
#endif
#endif