]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-cell-renderer-activatable.h
Add a #ifdef HAVE_VOIP. Fixes bug #482190 (Marco Barisione).
[empathy.git] / libempathy-gtk / empathy-cell-renderer-activatable.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2007 Raphael Slinckx <raphael@slinckx.net>
4  * Copyright (C) 2007 Collabora Ltd.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  *
21  * Authors: Raphael Slinckx <raphael@slinckx.net>
22  */
23
24 #ifndef __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
25 #define __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
26
27 #include <gtk/gtkcellrendererpixbuf.h>
28
29 G_BEGIN_DECLS
30
31 #define EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE            (empathy_cell_renderer_activatable_get_type ())
32 #define EMPATHY_CELL_RENDERER_ACTIVATABLE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatable))
33 #define EMPATHY_CELL_RENDERER_ACTIVATABLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatableClass))
34 #define EMPATHY_IS_CELL_RENDERER_ACTIVATABLE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE))
35 #define EMPATHY_IS_CELL_RENDERER_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE))
36 #define EMPATHY_CELL_RENDERER_ACTIVATABLE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatableClass))
37
38 typedef struct _EmpathyCellRendererActivatable      EmpathyCellRendererActivatable;
39 typedef struct _EmpathyCellRendererActivatableClass EmpathyCellRendererActivatableClass;
40
41 struct _EmpathyCellRendererActivatable {
42   GtkCellRendererPixbuf parent;
43 };
44
45 struct _EmpathyCellRendererActivatableClass {
46   GtkCellRendererPixbufClass parent_class;
47 };
48
49 GType            empathy_cell_renderer_activatable_get_type (void) G_GNUC_CONST;
50 GtkCellRenderer *empathy_cell_renderer_activatable_new      (void);
51
52 G_END_DECLS
53
54 #endif /* __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__ */
55