summaryrefslogtreecommitdiffstats
path: root/avahi-discover/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-discover/main.c')
-rw-r--r--avahi-discover/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/avahi-discover/main.c b/avahi-discover/main.c
index 557ad41..05ad967 100644
--- a/avahi-discover/main.c
+++ b/avahi-discover/main.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <gtk/gtk.h>
@@ -249,7 +253,7 @@ int main(int argc, char *argv[]) {
gtk_init(&argc, &argv);
glade_init();
- xml = glade_xml_new("avahi-discover.glade", NULL, NULL);
+ xml = glade_xml_new(INTERFACES_DIR"avahi-discover.glade", NULL, NULL);
main_window = glade_xml_get_widget(xml, "main_window");
g_signal_connect(main_window, "delete-event", (GCallback) main_window_on_delete_event, NULL);