Commit 6072b099 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

push a channel undo. Fixes bug #343026.

2006-05-29  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/channel.pdb (channel_combine_masks): push a
	channel undo. Fixes bug #343026.

	* app/pdb/channel_cmds.c: regenerated.
parent 651a102c
2006-05-29 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/channel.pdb (channel_combine_masks): push a
channel undo. Fixes bug #343026.
* app/pdb/channel_cmds.c: regenerated.
2006-05-29 Sven Neumann <sven@gimp.org>
* plug-ins/gimpressionist/presets.c: check for NULL before using a
......
......@@ -33,6 +33,7 @@
#include "core/gimpchannel-combine.h"
#include "core/gimpchannel.h"
#include "core/gimpimage.h"
#include "gimp-intl.h"
static GValueArray *
......@@ -169,6 +170,7 @@ channel_combine_masks_invoker (GimpProcedure *procedure,
if (success)
{
gimp_channel_push_undo (channel1, _("Combine Masks"));
gimp_channel_combine_mask (channel1, channel2, operation, offx, offy);
}
......
......@@ -125,9 +125,10 @@ HELP
);
%invoke = (
headers => [ qw("core/gimpchannel-combine.h") ],
headers => [ qw("core/gimpchannel-combine.h" "gimp-intl.h") ],
code => <<'CODE'
{
gimp_channel_push_undo (channel1, _("Combine Masks"));
gimp_channel_combine_mask (channel1, channel2, operation, offx, offy);
}
CODE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment