Disable Net::DBus. #1015
This commit is contained in:
parent
c2301c5796
commit
dde3e6e870
2 changed files with 2 additions and 2 deletions
1
Build.PL
1
Build.PL
|
@ -28,7 +28,6 @@ my $build = Module::Build->new(
|
|||
recommends => {
|
||||
'Class::XSAccessor' => '0',
|
||||
'Growl::GNTP' => '0.15',
|
||||
'Net::DBus' => '0',
|
||||
'XML::SAX::ExpatXS' => '0',
|
||||
'Wx' => '0.9901',
|
||||
},
|
||||
|
|
|
@ -480,7 +480,8 @@ sub notify {
|
|||
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
|
||||
if $self->{growler};
|
||||
};
|
||||
if (eval 'use Net::DBus; 1') {
|
||||
# Net::DBus is broken in multithreaded environment
|
||||
if (0 && eval 'use Net::DBus; 1') {
|
||||
eval {
|
||||
my $session = Net::DBus->session;
|
||||
my $serv = $session->get_service('org.freedesktop.Notifications');
|
||||
|
|
Loading…
Reference in a new issue