ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-DBus/DBus.pm
(Generate patch)

Comparing AnyEvent-DBus/DBus.pm (file contents):
Revision 1.2 by root, Mon Jun 21 00:11:17 2010 UTC vs.
Revision 1.3 by root, Mon Jun 21 00:11:55 2010 UTC

145} 145}
146 146
147sub manage { 147sub manage {
148 my (undef, $con) = @_; 148 my (undef, $con) = @_;
149 149
150 $con->set_watch_callbacks (\&io_on, \&watch_off, \&io_toggle); 150 $con->set_watch_callbacks (\&io_on, \&watch_off, \&io_toggle)
151 if $con->can ("set_watch_callbacks");
152
151 $con->set_timeout_callbacks (\&timeout_on, \&watch_off, \&timeout_toggle); 153 $con->set_timeout_callbacks (\&timeout_on, \&watch_off, \&timeout_toggle)
154 if $con->can ("set_timeout_callbacks");
152} 155}
153 156
154=head1 SEE ALSO 157=head1 SEE ALSO
155 158
156L<AnyEvent>, L<Net::DBus>. 159L<AnyEvent>, L<Net::DBus>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines