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



Quoting muppet <scott asofyet org>:

Thierry Vignaud said:
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.

-- 
muppet <scott at asofyet dot org>

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



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