[gimp] Don't forget to add the projection in GimpObject::get_memsize()
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Don't forget to add the projection in GimpObject::get_memsize()
- Date: Thu, 27 Aug 2009 17:48:52 +0000 (UTC)
commit 4db124defab2e585c5fb51bcc5e6b5c2b180d2b8
Author: Michael Natterer <mitch gimp org>
Date: Thu Aug 27 14:26:57 2009 +0200
Don't forget to add the projection in GimpObject::get_memsize()
app/core/gimpgrouplayer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpgrouplayer.c b/app/core/gimpgrouplayer.c
index aa0aeb9..684560c 100644
--- a/app/core/gimpgrouplayer.c
+++ b/app/core/gimpgrouplayer.c
@@ -312,6 +312,7 @@ gimp_group_layer_get_memsize (GimpObject *object,
gint64 memsize = 0;
memsize += gimp_object_get_memsize (GIMP_OBJECT (group->children), gui_size);
+ memsize += gimp_object_get_memsize (GIMP_OBJECT (group->projection), gui_size);
return memsize + GIMP_OBJECT_CLASS (parent_class)->get_memsize (object,
gui_size);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]