~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/core/gimpbuffer.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
  GimpBuffer *buffer  = GIMP_BUFFER (object);
114
114
  gint64      memsize = 0;
115
115
 
116
 
  if (buffer->tiles)
117
 
    memsize += tile_manager_get_memsize (buffer->tiles, FALSE);
 
116
  memsize += tile_manager_get_memsize (buffer->tiles, FALSE);
118
117
 
119
118
  return memsize + GIMP_OBJECT_CLASS (parent_class)->get_memsize (object,
120
119
                                                                  gui_size);
328
327
 
329
328
  return 0;
330
329
}
 
330
 
 
331
TileManager *
 
332
gimp_buffer_get_tiles (const GimpBuffer *buffer)
 
333
{
 
334
  g_return_val_if_fail (GIMP_IS_BUFFER (buffer), NULL);
 
335
 
 
336
  return buffer->tiles;
 
337
}