[gimp-perl] Finish OO change.



commit 2dc07b0fafd7184fca0c7cb265ed9accd3bd0bc0
Author: Ed J <edj src gnome org>
Date:   Tue Apr 29 16:05:20 2014 +0100

    Finish OO change.

 examples/windify |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/windify b/examples/windify
index e7e1ddc..2d59fc8 100755
--- a/examples/windify
+++ b/examples/windify
@@ -11,7 +11,7 @@ podregister {
   my $ysize = $drawable->height;
   my $out = Gimp::Image->new($xsize,$ysize,0);
   Gimp::Context->set_background([128,128,128]);
-  my $windlayer = $out->new($xsize,$ysize,RGB_IMAGE,"Windlayer",100,NORMAL_MODE);
+  my $windlayer = $out->layer_new($xsize,$ysize,RGB_IMAGE,"Windlayer",100,NORMAL_MODE);
   $windlayer->fill(0);
   $out->insert_layer($windlayer,0,0);
   my $windlayercopy = $windlayer->copy(1);


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