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, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 * Written by Owen Taylor <otaylor@redhat.com>, based on code by
20 * Carsten Haitzler <raster@rasterman.com>
24 #include "pixbuf-style.h"
25 #include "pixbuf-rc-style.h"
29 theme_init (GTypeModule *module)
31 pixbuf_rc_style_register_type (module);
32 pixbuf_style_register_type (module);
40 G_MODULE_EXPORT GtkRcStyle *
41 theme_create_rc_style (void)
43 return g_object_new (PIXBUF_TYPE_RC_STYLE, NULL);
46 /* The following function will be called by GTK+ when the module
47 * is loaded and checks to see if we are compatible with the
48 * version of GTK+ that loads us.
50 G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
52 g_module_check_init (GModule *module)
54 return gtk_check_version (GTK_MAJOR_VERSION,
56 GTK_MICRO_VERSION - GTK_INTERFACE_AGE);