mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:49:00 +08:00
Disable Net::DBus. #1015
This commit is contained in:
parent
c2301c5796
commit
dde3e6e870
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…
x
Reference in New Issue
Block a user