summaryrefslogtreecommitdiff
path: root/modules/engines/pixbuf/pixbuf-rc-style.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/engines/pixbuf/pixbuf-rc-style.c')
-rw-r--r--modules/engines/pixbuf/pixbuf-rc-style.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/engines/pixbuf/pixbuf-rc-style.c b/modules/engines/pixbuf/pixbuf-rc-style.c
index c221ae1562..b4c12d3f59 100644
--- a/modules/engines/pixbuf/pixbuf-rc-style.c
+++ b/modules/engines/pixbuf/pixbuf-rc-style.c
@@ -117,7 +117,7 @@ static GtkRcStyleClass *parent_class;
GType pixbuf_type_rc_style = 0;
void
-pixbuf_rc_style_register_type (GtkThemeEngine *engine)
+pixbuf_rc_style_register_type (GTypeModule *module)
{
static const GTypeInfo object_info =
{
@@ -132,10 +132,10 @@ pixbuf_rc_style_register_type (GtkThemeEngine *engine)
(GInstanceInitFunc) pixbuf_rc_style_init,
};
- pixbuf_type_rc_style = gtk_theme_engine_register_type (engine,
- GTK_TYPE_RC_STYLE,
- "PixbufRcStyle",
- &object_info);
+ pixbuf_type_rc_style = g_type_module_register_type (module,
+ GTK_TYPE_RC_STYLE,
+ "PixbufRcStyle",
+ &object_info, 0);
}
static void