Re: [BUG] mdk's drakxtools vs gtk2-perl-xs: we lack Timeout->remove that should be aliased onto Glib::Source->remove



Chas Owens <alas widomaker com> writes:

pb: the api is not othognal: we have Glib::Timeout->add but not
Glib::Timeout->remove.
instead we have Glib::Source->remove ...
se should alias it to Glib::Timeout->remove

that's Glib's doing.  a Glib::Timeout 'isa' Glib::Source, just
like Glib::Idle and a Glib::IO watch.

gtk_timeout_add and gtk_timeout_remove are deprecated and will not
be added.

If a Glib::Timeout 'isa' Glib::Source then shouldn't Glib::Timeout
already have "remove" (inherited from Glib::Source)?

it does not :-(




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