summaryrefslogtreecommitdiffstats
path: root/test/control.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-18 16:02:57 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-18 16:02:57 +0200
commitcecc7a459ae5deb7d3cca3924c583b5aec2165ab (patch)
treebcfcd5b76c2d7c6b5db64a90f8f9c91716033291 /test/control.c
parent1c99dd636e725ad8d439b22e05a51f8c53a03228 (diff)
downloadlibuca-cecc7a459ae5deb7d3cca3924c583b5aec2165ab.tar.gz
libuca-cecc7a459ae5deb7d3cca3924c583b5aec2165ab.tar.bz2
libuca-cecc7a459ae5deb7d3cca3924c583b5aec2165ab.tar.xz
libuca-cecc7a459ae5deb7d3cca3924c583b5aec2165ab.zip
Install glade file into prefix/share/libuca
Diffstat (limited to 'test/control.c')
-rw-r--r--test/control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/control.c b/test/control.c
index 96a476f..eaa88e3 100644
--- a/test/control.c
+++ b/test/control.c
@@ -24,6 +24,7 @@
#include <unistd.h>
#include <errno.h>
+#include "config.h"
#include "uca-camera.h"
#include "egg-property-tree-view.h"
@@ -319,7 +320,7 @@ int main(int argc, char *argv[])
GtkBuilder *builder = gtk_builder_new();
- if (!gtk_builder_add_from_file(builder, "control.glade", &error)) {
+ if (!gtk_builder_add_from_file(builder, CONTROL_GLADE_PATH, &error)) {
g_print("Error: %s\n", error->message);
return 1;
}