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>
22 #include "pixbuf-style.h"
23 #include "pixbuf-rc-style.h"
27 theme_init (GTypeModule *module)
29 pixbuf_rc_style_register_type (module);
30 pixbuf_style_register_type (module);
38 G_MODULE_EXPORT GtkRcStyle *
39 theme_create_rc_style (void)
41 return g_object_new (PIXBUF_TYPE_RC_STYLE, NULL);
44 /* The following function will be called by GTK+ when the module
45 * is loaded and checks to see if we are compatible with the
46 * version of GTK+ that loads us.
48 G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
50 g_module_check_init (GModule *module)
52 return gtk_check_version (GTK_MAJOR_VERSION,
54 GTK_MICRO_VERSION - GTK_INTERFACE_AGE);