[gegl] color-warp: fix glibificaiton of allocation



commit 45de8e962d8b7ac745f12e0975461884250d9bb0
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Nov 20 17:21:02 2016 +0100

    color-warp: fix glibificaiton of allocation

 operations/common/color-warp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/color-warp.c b/operations/common/color-warp.c
index f519347..d131f01 100644
--- a/operations/common/color-warp.c
+++ b/operations/common/color-warp.c
@@ -83,7 +83,7 @@ typedef struct CoordWarp {
 static CoordWarp *cw_new (void)
 {
   CoordWarp *cw;
-  cw = g_new0 (sizeof (CoordWarp), 1);
+  cw = g_new0 (CoordWarp, 1);
   return cw;
 }
 


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