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.3 by root, Mon Jun 21 00:11:55 2010 UTC vs.
Revision 1.4 by root, Mon Jun 21 00:12:52 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"); 151# if $con->can ("set_watch_callbacks");
152 152
153 $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"); 154# if $con->can ("set_timeout_callbacks");
155} 155}
156 156
157=head1 SEE ALSO 157=head1 SEE ALSO
158 158
159L<AnyEvent>, L<Net::DBus>. 159L<AnyEvent>, L<Net::DBus>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines