[gimp/gimp-2-10] Issue #3599 - Crash when creating channel



commit 29b300378dc9c10ebc5cf655fcc434faf2bfe90d
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jul 2 16:52:03 2019 +0200

    Issue #3599 - Crash when creating channel
    
    Must use a GIMP_TYPE_ACTION_IMPL in GimpColorPanel, not just a
    GIMP_TYPE_ACTION which is only an interface now.
    
    (cherry picked from commit 998bd04bd4a329fc80f81a7457d038bc7057cb4c)

 app/widgets/gimpcolorpanel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpcolorpanel.c b/app/widgets/gimpcolorpanel.c
index 4bf15b20fd..7fa5245677 100644
--- a/app/widgets/gimpcolorpanel.c
+++ b/app/widgets/gimpcolorpanel.c
@@ -31,7 +31,7 @@
 #include "core/gimpcontext.h"
 #include "core/gimpmarshal.h"
 
-#include "gimpaction.h"
+#include "gimpactionimpl.h"
 #include "gimpcolordialog.h"
 #include "gimpcolorpanel.h"
 
@@ -216,7 +216,7 @@ gimp_color_panel_clicked (GtkButton *button)
 static GType
 gimp_color_panel_get_action_type (GimpColorButton *button)
 {
-  return GIMP_TYPE_ACTION;
+  return GIMP_TYPE_ACTION_IMPL;
 }
 
 


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