Re: CellRenderer_Class::start_editing_vfunc_callback

On Fri, 2005-04-01 at 13:46 +0200, Frank Naumann wrote:
> Hello!
> I just wondered why my self written CellRenderer (derived from 
> Gtk::CellRenderer) is no longer editable under the recent gtkmm 2.6.1 
> release. After looking a little bit into the source I found out why it no 
> longer work:
>, line 276ff:
>    // Non-gtkmmproc-generated custom classes implicitly call the default
>    // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
>    // generated classes can use this optimisation, which avoids the unnecessary
>    // parameter conversions if there is no possibility of the virtual function
>    // being overridden:
>    if(false) //obj && obj->is_derived_())
>    {

Oops. That looks like left-over debugging stuff. I'll investigate and
release a new version if necessary after a few days.

Murray Cumming
murrayc murrayc com

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