aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget-irc.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-04 01:00:33 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-04 01:00:33 +0800
commitef3204306ca354568754d552ed147496547c4ba4 (patch)
tree9f2efb9321e0f26a8bc05c68c29c0929cf6cf5b4 /libempathy-gtk/empathy-account-widget-irc.c
parent178e698e0db4be2cd2750b027284c3eaaa49d01e (diff)
downloadgsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.gz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.bz2
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.lz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.xz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.zst
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.zip
Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.
svn path=/trunk/; revision=693
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-irc.c')
-rw-r--r--libempathy-gtk/empathy-account-widget-irc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget-irc.c b/libempathy-gtk/empathy-account-widget-irc.c
index 35fa7697f..5c74e0958 100644
--- a/libempathy-gtk/empathy-account-widget-irc.c
+++ b/libempathy-gtk/empathy-account-widget-irc.c
@@ -442,8 +442,8 @@ empathy_account_widget_irc_new (McAccount *account)
user_file_with_path = g_build_filename (dir, IRC_NETWORKS_FILENAME, NULL);
g_free (dir);
- global_file_with_path = g_build_filename (UNINSTALLED_IRC_DIR,
- IRC_NETWORKS_FILENAME, NULL);
+ global_file_with_path = g_build_filename (g_getenv ("EMPATHY_SRCDIR"),
+ "libempathy-gtk", IRC_NETWORKS_FILENAME, NULL);
if (!g_file_test (global_file_with_path, G_FILE_TEST_EXISTS))
{
g_free (global_file_with_path);