[gimp/goat-invasion] === squash into previous ===



commit db8759e283184be6c2b1fdf1a12565b6735f13f9
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 21 14:29:46 2012 +0100

    === squash into previous ===

 app/core/gimpselection.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpselection.c b/app/core/gimpselection.c
index 6688c67..000556d 100644
--- a/app/core/gimpselection.c
+++ b/app/core/gimpselection.c
@@ -637,10 +637,7 @@ gimp_selection_extract_buffer (GimpSelection *selection,
     {
       GeglBuffer *buffer;
 
-      buffer = gimp_gegl_buffer_new (GIMP_GEGL_RECT (0, 0,
-                                                     tile_manager_width (tiles),
-                                                     tile_manager_height (tiles)),
-                                     format);
+      buffer = gimp_tile_manager_create_buffer (tiles, format);
       tile_manager_unref (tiles);
 
       return buffer;



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