[gegl] plasma: Minimize code
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] plasma: Minimize code
- Date: Wed, 6 Jul 2011 14:08:36 +0000 (UTC)
commit 2da8a6f93becbd97c759dc093de8f548b1d175d8
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jul 6 19:15:12 2011 +0530
plasma: Minimize code
operations/workshop/plasma.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/operations/workshop/plasma.c b/operations/workshop/plasma.c
index a7b638b..20d3b6c 100644
--- a/operations/workshop/plasma.c
+++ b/operations/workshop/plasma.c
@@ -357,9 +357,7 @@ get_required_for_output (GeglOperation *operation,
const gchar *input_pad,
const GeglRectangle *roi)
{
- GeglRectangle result = *gegl_operation_source_get_bounding_box (operation,
- "input");
- return result;
+ return *gegl_operation_source_get_bounding_box (operation, "input");
}
static GeglRectangle
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]