Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:esokrates
pdfpc
fix_compilation_with_new_vala.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_compilation_with_new_vala.patch of Package pdfpc
diff --git a/src/classes/drawings/drawing_commands.vala b/src/classes/drawings/drawing_commands.vala index 77e56e6d..c305a8c5 100644 --- a/src/classes/drawings/drawing_commands.vala +++ b/src/classes/drawings/drawing_commands.vala @@ -54,8 +54,8 @@ namespace pdfpc { } public void clear() { - this.drawing_commands = new List<DrawingCommand>(); - this.redo_commands = new List<DrawingCommand>(); + this.drawing_commands = new List<DrawingCommand?>(); + this.redo_commands = new List<DrawingCommand?>(); } public void add_line(bool is_eraser, @@ -70,7 +70,7 @@ namespace pdfpc { // After adding a new line you can no longer redo the old // path. - this.redo_commands = new List<DrawingCommand>(); // clear + this.redo_commands = new List<DrawingCommand?>(); // clear bool new_path = true; double epsilon = 1e-4; // Less than 0.1 pixel for a 1000x1000 img
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor