]> git.0d.be Git - empathy.git/blob - libempathy/gossip-paths.c
[darcs-to-svn @ initial import]
[empathy.git] / libempathy / gossip-paths.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2006-2007 Imendio AB
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  * Authors: Richard Hult <richard@imendio.com>
21  */
22
23 #include "config.h"
24
25 #include "gossip-paths.h"
26
27 #define EMPATHY "empathy"
28
29 gchar *
30 gossip_paths_get_glade_path (const gchar *filename)
31 {
32         return g_build_filename (DATADIR, EMPATHY, filename, NULL);
33 }
34
35 gchar *
36 gossip_paths_get_image_path (const gchar *filename)
37 {
38         return g_build_filename (DATADIR, EMPATHY, filename, NULL);
39 }
40
41 gchar *
42 gossip_paths_get_dtd_path (const gchar *filename)
43 {
44         return g_build_filename (DATADIR, EMPATHY, filename, NULL);
45 }
46
47 gchar *
48 gossip_paths_get_locale_path ()
49 {
50         return g_strdup (LOCALEDIR);
51 }