[gimp-perl] Make examples/xachshadows work with alpha-less layer. Bug 728567
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] Make examples/xachshadows work with alpha-less layer. Bug 728567
- Date: Wed, 23 Apr 2014 05:13:16 +0000 (UTC)
commit 3034bba49c8134dec06f762ffd21d339af078b60
Author: Ed J <m8r-35s8eo mailinator com>
Date: Sat Apr 19 19:05:33 2014 +0100
Make examples/xachshadows work with alpha-less layer. Bug 728567
examples/xachshadow | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/xachshadow b/examples/xachshadow
index 0f88468..5841f48 100755
--- a/examples/xachshadow
+++ b/examples/xachshadow
@@ -44,7 +44,7 @@ register "xach_shadows",
Gimp::Context->push();
# $selection_flag = 0;
if (!$drawable->has_alpha) {
- $drawable->add_alpha;
+ $drawable->Gimp::Layer::add_alpha; # not drawable method
};
Gimp::Context->set_foreground('white');
Gimp::Context->set_background('black');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]