[gimp] Issue #2226 - Assigning wrong color profile results in error reporting dialog



commit 1915c17584562830768e1c578c4806be51746363
Author: Michael Natterer <mitch gimp org>
Date:   Mon Oct 22 16:57:47 2018 +0200

    Issue #2226 - Assigning wrong color profile results in error reporting dialog
    
    image_profile_assign_callback(): forgot to remove some code when
    introducing gimp_image_assign_color_profile().

 app/actions/image-commands.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/app/actions/image-commands.c b/app/actions/image-commands.c
index bf1e4831d8..a2a108de2f 100644
--- a/app/actions/image-commands.c
+++ b/app/actions/image-commands.c
@@ -1247,9 +1247,6 @@ image_profile_assign_callback (GtkWidget                *dialog,
                     "%s", error->message);
       g_clear_error (&error);
 
-      gimp_image_undo_group_end (image);
-      gimp_image_undo (image);
-
       return;
     }
 


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