Create one single GAction to join rooms
[empathy-mirror.git] / libempathy-gtk / empathy-cell-renderer-activatable.h
blobb4564ee722e644bfd8786f9659b34dbabc34d12e
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-2008 Collabora Ltd.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 * Authors: Raphael Slinckx <raphael@slinckx.net>
23 #ifndef __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
24 #define __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
26 #include <gtk/gtk.h>
28 G_BEGIN_DECLS
30 #define EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE (empathy_cell_renderer_activatable_get_type ())
31 #define EMPATHY_CELL_RENDERER_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatable))
32 #define EMPATHY_CELL_RENDERER_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatableClass))
33 #define EMPATHY_IS_CELL_RENDERER_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE))
34 #define EMPATHY_IS_CELL_RENDERER_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE))
35 #define EMPATHY_CELL_RENDERER_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE, EmpathyCellRendererActivatableClass))
37 typedef struct _EmpathyCellRendererActivatable EmpathyCellRendererActivatable;
38 typedef struct _EmpathyCellRendererActivatableClass EmpathyCellRendererActivatableClass;
40 struct _EmpathyCellRendererActivatable {
41 GtkCellRendererPixbuf parent;
42 gpointer priv;
45 struct _EmpathyCellRendererActivatableClass {
46 GtkCellRendererPixbufClass parent_class;
49 GType empathy_cell_renderer_activatable_get_type (void) G_GNUC_CONST;
50 GtkCellRenderer *empathy_cell_renderer_activatable_new (void);
52 G_END_DECLS
54 #endif /* __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__ */