2
** Copyright (C) 2009 Tadej Borovšak <tadeboro@gmail.com>
4
** This program is free software; you can redistribute it and/or modify
5
** it under the terms of the GNU General Public License as published by
6
** the Free Software Foundation; either version 2 of the License, or
7
** (at your option) any later version.
9
** This program is distributed in the hope that it will be useful,
10
** but WITHOUT ANY WARRANTY; without even the implied warranty of
11
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
** GNU General Public License for more details.
14
** You should have received a copy of the GNU General Public License
15
** along with this program; if not, write to the Free Software
16
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef __IMG_CELL_RENDERER_PIXBUF_H__
20
#define __IMG_CELL_RENDERER_PIXBUF_H__
26
#define IMG_TYPE_CELL_RENDERER_PIXBUF \
27
( img_cell_renderer_pixbuf_get_type() )
29
#define IMG_CELL_RENDERER_PIXBUF( obj ) \
30
( G_TYPE_CHECK_INSTANCE_CAST( ( obj ), \
31
IMG_TYPE_CELL_RENDERER_PIXBUF, \
32
ImgCellRendererPixbuf ) )
34
#define IMG_CELL_RENDERER_PIXBUF_CLASS( klass ) \
35
( G_TYPE_CHECK_CLASS_CAST( ( klass ), \
36
IMG_TYPE_CELL_RENDERER_PIXBUF, \
37
ImgCellRendererPixbufClass ) )
39
#define IMG_IS_CELL_RENDERER_PIXBUF( obj ) \
40
( G_TYPE_CHECK_INSTANCE_TYPE( ( obj ), \
41
IMG_TYPE_CELL_RENDERER_PIXBUF ) )
43
#define IMG_IS_CELL_RENDERER_PIXBUF_CLASS( klass ) \
44
( G_TYPE_CHECK_CLASS_TYPE( ( klass ), \
45
IMG_TYPE_CELL_RENDERER_PIXBUF_CLASS ) )
47
typedef struct _ImgCellRendererPixbuf ImgCellRendererPixbuf;
48
typedef struct _ImgCellRendererPixbufClass ImgCellRendererPixbufClass;
50
struct _ImgCellRendererPixbuf
52
GtkCellRenderer parent;
55
struct _ImgCellRendererPixbufClass
57
GtkCellRendererClass parent_class;
61
img_cell_renderer_pixbuf_get_type( void ) G_GNUC_CONST;
64
img_cell_renderer_pixbuf_new( void );
68
#endif /* __IMG_CELL_RENDERER_PIXBUF_H__ */