]> Pileus Git - ~andy/gtk/blob - modules/engines/pixbuf/pixbuf-rc-style.h
Use the ppd groups "name" instead of "text" (bug #687065)
[~andy/gtk] / modules / engines / pixbuf / pixbuf-rc-style.h
1 /* GTK+ Pixbuf Engine
2  * Copyright (C) 1998-2000 Red Hat, Inc.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  *
17  * Written by Owen Taylor <otaylor@redhat.com>, based on code by
18  * Carsten Haitzler <raster@rasterman.com>
19  */
20
21 #include <gtk/gtk.h>
22
23 typedef struct _PixbufRcStyle PixbufRcStyle;
24 typedef struct _PixbufRcStyleClass PixbufRcStyleClass;
25
26 extern G_GNUC_INTERNAL GType pixbuf_type_rc_style;
27
28 #define PIXBUF_TYPE_RC_STYLE              pixbuf_type_rc_style
29 #define PIXBUF_RC_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_RC_STYLE, PixbufRcStyle))
30 #define PIXBUF_RC_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), PIXBUF_TYPE_RC_STYLE, PixbufRcStyleClass))
31 #define PIXBUF_IS_RC_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PIXBUF_TYPE_RC_STYLE))
32 #define PIXBUF_IS_RC_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PIXBUF_TYPE_RC_STYLE))
33 #define PIXBUF_RC_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), PIXBUF_TYPE_RC_STYLE, PixbufRcStyleClass))
34
35 struct _PixbufRcStyle
36 {
37   GtkRcStyle parent_instance;
38   
39   GList *img_list;
40 };
41
42 struct _PixbufRcStyleClass
43 {
44   GtkRcStyleClass parent_class;
45 };
46
47 G_GNUC_INTERNAL  void pixbuf_rc_style_register_type (GTypeModule *module);