[gimp/goat-invasion: 481/608] app: fix signal signature of GimpColorTool::picked()



commit 70fd505a85a8ae634a5720c893f5ffa9f91a1edb
Author: Michael Natterer <mitch gimp org>
Date:   Wed Apr 11 01:03:56 2012 +0200

    app: fix signal signature of GimpColorTool::picked()
    
    A Babl format is not of GIMP_TYPE_IMAGE_TYPE, this would have horribly
    crashed on 64bit, I guess...

 app/tools/gimpcolortool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcolortool.c b/app/tools/gimpcolortool.c
index e00aab5..74d406f 100644
--- a/app/tools/gimpcolortool.c
+++ b/app/tools/gimpcolortool.c
@@ -141,7 +141,7 @@ gimp_color_tool_class_init (GimpColorToolClass *klass)
                   gimp_marshal_VOID__ENUM_POINTER_BOXED_INT,
                   G_TYPE_NONE, 4,
                   GIMP_TYPE_COLOR_PICK_STATE,
-                  GIMP_TYPE_IMAGE_TYPE,
+                  G_TYPE_POINTER,
                   GIMP_TYPE_RGB | G_SIGNAL_TYPE_STATIC_SCOPE,
                   G_TYPE_INT);
 



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