gimp r26522 - in trunk: . app/paint



Author: neo
Date: Tue Aug 12 18:59:04 2008
New Revision: 26522
URL: http://svn.gnome.org/viewvc/gimp?rev=26522&view=rev

Log:
2008-08-12  Sven Neumann  <sven gimp org>

	* app/paint/gimppaintcore.c (gimp_paint_core_start): use
	gimp_projection_get_tiles() instead of doing the same through 
the
	GimpPickable interface.



Modified:
   trunk/ChangeLog
   trunk/app/paint/gimppaintcore.c

Modified: trunk/app/paint/gimppaintcore.c
==============================================================================
--- trunk/app/paint/gimppaintcore.c	(original)
+++ trunk/app/paint/gimppaintcore.c	Tue Aug 12 18:59:04 2008
@@ -370,9 +370,7 @@
     {
       GimpImage      *image      = gimp_item_get_image (item);
       GimpProjection *projection = gimp_image_get_projection (image);
-      TileManager    *tiles;
-
-      tiles = gimp_pickable_get_tiles (GIMP_PICKABLE (projection));
+      TileManager    *tiles      = gimp_projection_get_tiles (projection);
 
       core->saved_proj_tiles = tile_manager_new (tile_manager_width (tiles),
                                                  tile_manager_height (tiles),



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