[gimp/goat-invasion] app: fix signal signature of GimpColorTool::picked()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion] app: fix signal signature of GimpColorTool::picked()
- Date: Tue, 10 Apr 2012 23:05:23 +0000 (UTC)
commit 1f2ee5695d3a0c8af533dc09aba792ed8eab3209
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]