mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
don't call a NULL GimpImageMapToolClass::get_operation().
2008-01-06 Michael Natterer <mitch@gimp.org> * app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map): don't call a NULL GimpImageMapToolClass::get_operation(). svn path=/trunk/; revision=24553
This commit is contained in:
parent
50335ca918
commit
4324d68141
|
@ -1,3 +1,8 @@
|
|||
2008-01-06 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
|
||||
don't call a NULL GimpImageMapToolClass::get_operation().
|
||||
|
||||
2008-01-06 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_gegl_notify):
|
||||
|
|
|
@ -447,7 +447,8 @@ gimp_image_map_tool_create_map (GimpImageMapTool *tool)
|
|||
g_object_unref (tool->image_map);
|
||||
}
|
||||
|
||||
if (config->use_gegl && ! tool->operation)
|
||||
if (config->use_gegl && ! tool->operation &&
|
||||
GIMP_IMAGE_MAP_TOOL_GET_CLASS (tool)->get_operation)
|
||||
tool->operation = GIMP_IMAGE_MAP_TOOL_GET_CLASS (tool)->get_operation (tool);
|
||||
|
||||
tool->image_map = gimp_image_map_new (tool->drawable,
|
||||
|
|
Loading…
Reference in a new issue