Mageia Bugzilla – Attachment 9363 Details for
Bug 20956
MCC drakclock crash (Can't call method \"set_antialias\" on an undefined value at /usr/libexec/drakclock line 350.)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
try to workaround mga#20956
0001-try-to-workaround-mga-20956.patch (text/plain), 816 bytes, created by
Thierry Vignaud
on 2017-05-30 18:02:17 CEST
(
hide
)
Description:
try to workaround mga#20956
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2017-05-30 18:02:17 CEST
Size:
816 bytes
patch
obsolete
>From bf2930367bcc72ccaf278b49c1e373713aed1705 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Tue, 30 May 2017 18:00:16 +0200 >Subject: [PATCH] try to workaround mga#20956 > >--- > perl-install/standalone/drakclock | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock >index 3f4fe2e..d02e9f4 100755 >--- a/perl-install/standalone/drakclock >+++ b/perl-install/standalone/drakclock >@@ -341,6 +341,7 @@ sub time_to_rad { > > sub Repaint { > my ($o_update_time, $skip_redraw) = @_; >+ return if !$cairo; > my ($sec, $min, $hour) = localtime(time()); > time_to_rad($sec, $min, $hour) if $o_update_time; > ($midx, $midy) = ($drawing_area->get_allocated_width/2, $drawing_area->get_allocated_height/2); >-- >2.9.4 >
From bf2930367bcc72ccaf278b49c1e373713aed1705 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Tue, 30 May 2017 18:00:16 +0200 Subject: [PATCH] try to workaround mga#20956 --- perl-install/standalone/drakclock | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 3f4fe2e..d02e9f4 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -341,6 +341,7 @@ sub time_to_rad { sub Repaint { my ($o_update_time, $skip_redraw) = @_; + return if !$cairo; my ($sec, $min, $hour) = localtime(time()); time_to_rad($sec, $min, $hour) if $o_update_time; ($midx, $midy) = ($drawing_area->get_allocated_width/2, $drawing_area->get_allocated_height/2); -- 2.9.4
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20956
:
9356
|
9357
| 9363