[gimp] Issue #3599 - Crash when creating channel



commit 998bd04bd4a329fc80f81a7457d038bc7057cb4c
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.

 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 1aeaae3ac4..df4610fab3 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]