aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/Makefile.am1
-rw-r--r--libempathy-gtk/gossip-accounts-dialog.c1
-rw-r--r--libempathy-gtk/gossip-ui-utils.c3
3 files changed, 2 insertions, 3 deletions
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index 183f7d8e2..e6d12a78f 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -1,6 +1,7 @@
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir) \
+ -DDATADIR=\""$(datadir)"\" \
$(EMPATHY_CFLAGS) \
$(WARN_CFLAGS)
diff --git a/libempathy-gtk/gossip-accounts-dialog.c b/libempathy-gtk/gossip-accounts-dialog.c
index 2a3a92764..3abb9be33 100644
--- a/libempathy-gtk/gossip-accounts-dialog.c
+++ b/libempathy-gtk/gossip-accounts-dialog.c
@@ -39,7 +39,6 @@
#include <libtelepathy/tp-constants.h>
#include <libempathy/gossip-debug.h>
-#include <libempathy/gossip-paths.h>
#include <libempathy/gossip-utils.h>
#include <libempathy-gtk/gossip-ui-utils.h>
diff --git a/libempathy-gtk/gossip-ui-utils.c b/libempathy-gtk/gossip-ui-utils.c
index e211bf169..f9628f014 100644
--- a/libempathy-gtk/gossip-ui-utils.c
+++ b/libempathy-gtk/gossip-ui-utils.c
@@ -37,7 +37,6 @@
#include <libmissioncontrol/mc-profile.h>
-#include <libempathy/gossip-paths.h>
#include <libempathy/gossip-debug.h>
#include "gossip-ui-utils.h"
@@ -63,7 +62,7 @@ get_glade_file (const gchar *filename,
const char *name;
GtkWidget **widget_ptr;
- path = gossip_paths_get_glade_path (filename);
+ path = g_build_filename (DATADIR, "empathy", filename, NULL);
gui = glade_xml_new (path, root, domain);
g_free (path);