]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-theme-utils.h
af970775f793d55205f518b1af595bddd6c125fa
[empathy.git] / libempathy-gtk / empathy-theme-utils.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2007 Imendio AB
4  *
5  * This program 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 program 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 program; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __EMPATHY_THEME_UTILS_H__
22 #define __EMPATHY_THEME_UTILS_H__
23
24 #include <gtk/gtktextbuffer.h>
25 #include <gtk/gtktexttag.h>
26
27 G_BEGIN_DECLS
28
29 void          empathy_theme_utils_ensure_tag_by_name  (GtkTextBuffer   *buffer,
30                                                        const gchar     *name);
31 GtkTextTag *  empathy_theme_utils_init_tag_by_name    (GtkTextTagTable *table,
32                                                        const gchar     *name);
33 void          empathy_theme_utils_add_tag             (GtkTextTagTable *table,
34                                                        GtkTextTag      *tag);
35
36 G_END_DECLS
37
38 #endif /* __EMPATHY_THEME_UTILS_H__ */
39
40