[gimp] Issue #5010 - Setting twice value pcvals.paper_invert in paper_store



commit 97e0322ebb6f1b5550c91112d3564565f3c0c974
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 1 22:49:47 2020 +0200

    Issue #5010 - Setting twice value pcvals.paper_invert in paper_store
    
    Remove identical duplicated line.

 plug-ins/gimpressionist/paper.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plug-ins/gimpressionist/paper.c b/plug-ins/gimpressionist/paper.c
index 4662480789..795c4b9f5a 100644
--- a/plug-ins/gimpressionist/paper.c
+++ b/plug-ins/gimpressionist/paper.c
@@ -118,7 +118,6 @@ paper_restore (void)
 void
 paper_store (void)
 {
-  pcvals.paper_invert = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (paper_invert));
   pcvals.paper_invert = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (paper_invert));
   pcvals.paper_overlay = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (paper_overlay));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]