From 18beaecbbcc066e0d4c889b3aa3ecaa7351f7768 Mon Sep 17 00:00:00 2001 Message-ID: <18beaecbbcc066e0d4c889b3aa3ecaa7351f7768.1711183363.git.vivien@planete-kraus.eu> From: Evgeny Stambulchik Date: Tue, 25 Apr 2023 16:11:25 +0300 Subject: [PATCH] Create Lists of nullable types --- This is the pull request for issue 686, merged in master, not released yet. src/classes/drawings/drawing_commands.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classes/drawings/drawing_commands.vala b/src/classes/drawings/drawing_commands.vala index 77e56e6..c305a8c 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(); - this.redo_commands = new List(); + this.drawing_commands = new List(); + this.redo_commands = new List(); } 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(); // clear + this.redo_commands = new List(); // clear bool new_path = true; double epsilon = 1e-4; // Less than 0.1 pixel for a 1000x1000 img -- 2.41.0 628c3daf4faa4370a3cddfbfdd17bb'>diff
AgeCommit message (Expand)Author
2024-11-21gnu: Add python-setuptools-scm-next....* gnu/packages/python-build.scm (python-setuptools-scm-next): New variable. Change-Id: Ic6b95ed437f95c25c165de3d51732154e2bd954a Zheng Junjie
2024-09-06gnu: Remove python-typing-extensions-4.10....* gnu/packages/machine-learning.scm (python-typing-extensions-4.10): Delete variable. * gnu/packages/machine-learning.scm (python-pytorch)[native-inputs] Replace python-typing-extensions-4.10 with python-typing-extensions. David Elsing
2024-08-31gnu: python-pip: Ungraft....* gnu/packages/python-build.scm (python-pip): Ungraft and apply source snippet directly. (python-pip/fixed): Remove variable. Change-Id: I4913e8f87f5934bffec9d58ad86b97f8ca16ba32 Josselin Poiret
2024-07-30gnu: Add python-pluggy-next....* gnu/packages/python-build.scm (python-pluggy-next): New variable. Change-Id: If3ec3f930a799df9602db71112a6c6a5272b524c Sharlatan Hellseher
2024-06-18gnu: Add python-typing-extensions-4.10....* gnu/packages/python-build.scm (python-typing-extensions-4.10): New variable. David Elsing