~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to libempathy/gossip-paths.c

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2007-05-20 15:31:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070520153142-r3auwguxdgxhktqb
Tags: upstream-0.4
ImportĀ upstreamĀ versionĀ 0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}