diff -r eae45d3e67e6 -r fe90c8a024d5 plugins/ticker/gtkticker.c --- a/plugins/ticker/gtkticker.c Thu Aug 21 16:01:18 2003 +0000 +++ b/plugins/ticker/gtkticker.c Thu Aug 21 18:20:05 2003 +0000 @@ -51,6 +51,8 @@ { static GType ticker_type = 0; + ticker_type = g_type_from_name("GtkTicker"); + if (!ticker_type) { static const GTypeInfo ticker_info = @@ -70,6 +72,11 @@ &ticker_info, 0); } + /* kludge to re-initialise the class if it's already registered */ + else if (parent_class == NULL) { + gtk_ticker_class_init((GtkTickerClass *)g_type_class_peek(ticker_type)); + } + return ticker_type; }