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 gitignore'>
AgeCommit message (Expand)Author
2023-10-22teams: Adjust shebang to use 'guix repl'....This ensures the correct Guix dependencies are always available for the script. * etc/teams.scm.in: Rename to... * etc/teams.scm: ... this. Adjust shebang. * .gitignore: No longer ignore it. * configure.ac: Do not process it with AC_CONFIG_FILES. Reported-by: Clément Lassieur <clement@lassieur.org> Fixes: https://issues.guix.gnu.org/66605 Change-Id: I7a01750c6c5f0696b6c36b1e6caa9389d9e6822c Maxim Cournoyer
2023-04-24Add mumi config....* .mumi/config: New file. * .gitignore: Add .mumi/current-issue. Arun Isaac
2022-07-03etc: Add teams.scm....* etc/teams.scm.in: New file. * configure.ac: Generate executable. * .gitignore: Ignore generated file. Ricardo Wurmus
2022-06-05gitignore: Add .DS_Store....Ignore MacOS specific file: https://en.wikipedia.org/wiki/.DS_Store Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Pavel Shlyak
2021-10-16.gitignore: Ignore more autotools directories....* .gitignore: Add pattern to ignore ".am[0-9]*/". Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Sarah Morgensen
2021-10-16.gitignore: Ignore more temporary test directories....* .gitignore: Add pattern to ignore "/t-*/". Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Sarah Morgensen
2021-09-20etc: Add systemd files for running ‘guix gc’ periodically...* etc/guix-gc.service.in: New file. * etc/guix-gc.timer: Likewise. * .gitignore: Ignore generated ‘guix-gc.service’. * nix/local.mk (nodist_systemdservice_DATA): Add ‘guix-gc.service’ and ‘guix-gc.timer’. (EXTRA_DIST): Add ‘guix-gc.service.in’ and ‘guix-gc.timer’. * doc/guix.texi (Binary Installation): Mention the new systemd files. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Thiago Jung Bauermann
2021-05-10.gitignore: Ignore .mo files....* .gitignore: Ignore files matching the *.mo pattern. Maxim Cournoyer
2021-05-05.gitignore: Ignore .tarball-ignore....This file can be useful to fix a version string when experimenting with 'make release'. * .gitignore: Add a pattern to ignore .tarball-version. Maxim Cournoyer
2021-04-23.gitignore: Ignore release artifacts....Not ignoring these in the tree leads to the next generated version (.version) being suffixed with '-dirty', which confuses things. * .gitignore [/guix-*]: New pattern. [/doc/stamp-[0-9]]: Adjust to ... [/doc/stamp-*]: ... this. [/release-*]: New pattern. Maxim Cournoyer
2021-04-23.gitignore: Ignore generated .pot files....These files are automatically-extracted templates rather than source, hence shouldn't be checked in. * .gitignore: Add a glob pattern to ignore .pot files. Maxim Cournoyer