2 * Copyright (C) 1998-2000 Red Hat, Inc.
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.
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.
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/>.
17 * Written by Owen Taylor <otaylor@redhat.com>, based on code by
18 * Carsten Haitzler <raster@rasterman.com>
23 typedef struct _PixbufRcStyle PixbufRcStyle;
24 typedef struct _PixbufRcStyleClass PixbufRcStyleClass;
26 extern G_GNUC_INTERNAL GType pixbuf_type_rc_style;
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))
37 GtkRcStyle parent_instance;
42 struct _PixbufRcStyleClass
44 GtkRcStyleClass parent_class;
47 G_GNUC_INTERNAL void pixbuf_rc_style_register_type (GTypeModule *module);