121
129
Glib::Idle->add(\&init); #initialize once the main gmb init is finished
140
{ # use Net::DBus internals to connect it to the Glib mainloop, though unlikely, it may break with future version of Net::DBus
128
142
my $reactor=Net::DBus::Reactor->main;
129
# use Net::DBus internals to connect it to the Glib mainloop, though unlikely, it may break with future version of Net::DBus
130
144
for my $ref (['in','read'],['out','write'], ['err','exception'])
131
145
{ my ($type1,$type2)=@$ref;
132
146
for my $fd (keys %{$reactor->{fds}{$type2}})