Re: [gtk-list] Gtk--, set_name()object types, and those warning messages



Paul Barton-Davis <pbd@Op.Net> writes:
> Well, there seems to be a small bug in Gtk--.
 
> If you end up calling this from this:
> 
>       string someWidgetName;
> 
>       Gtk_Widget->set_name (someWidgetName);
> 
> then sometimes, for reasons I don't understand (*), the p1 argument is of
> type GTK_TYPE_CHAR, and is therefore not an object. 

I know whats the problem.

GtkStyle is not derived from GtkObject. :) Its certainly a bug in gtk--.
=> we shouldnt try to cast it to GtkObject. :)

> Any comments anyone ?

Thanks for finding it.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]