[gimp-perl] mirrorsplit temp var not needed.



commit cd409777736cff2f3ef1cf12fec89b329b4755d4
Author: Ed J <edj src gnome org>
Date:   Sun Jun 8 19:35:44 2014 +0100

    mirrorsplit temp var not needed.

 examples/mirrorsplit |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/mirrorsplit b/examples/mirrorsplit
index 34a8bf0..b8252ef 100755
--- a/examples/mirrorsplit
+++ b/examples/mirrorsplit
@@ -35,7 +35,7 @@ podregister {
   };
   $image->select_rectangle(&Gimp::CHANNEL_OP_REPLACE, @xywh);
   $temp1->edit_copy;
-  my $temp2 = $drawable->edit_paste(1)->floating_sel_anchor;
+  $drawable->edit_paste(1)->floating_sel_anchor;
   $image->remove_layer($temp1);
   $image->selection_none;
   $image->undo_group_end;


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