[gimp] app: fix crash in gimp_gegl_tool_get_operation()



commit c8ee9f951dd4407c3604f426b896c88732d93b38
Author: Michael Natterer <mitch gimp org>
Date:   Sat Jan 23 22:06:19 2016 +0100

    app: fix crash in gimp_gegl_tool_get_operation()
    
    actually chain up, instead of calling ourselves recursively...

 app/tools/gimpgegltool.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 9d74e8c..fda1cc5 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -339,12 +339,12 @@ gimp_gegl_tool_get_operation (GimpImageMapTool  *im_tool,
 {
   gchar *operation;
 
-  operation = GIMP_IMAGE_MAP_TOOL_GET_CLASS (im_tool)->get_operation (im_tool,
-                                                                      title,
-                                                                      description,
-                                                                      undo_desc,
-                                                                      icon_name,
-                                                                      help_id);
+  operation = GIMP_IMAGE_MAP_TOOL_CLASS (parent_class)->get_operation (im_tool,
+                                                                       title,
+                                                                       description,
+                                                                       undo_desc,
+                                                                       icon_name,
+                                                                       help_id);
 
   if (*description)
     g_free (*description);


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