[gtk+/composite-templates] blur: Do the same thing for rows and cols



commit bb6f089671900c4f907e0570a8b79c86c38b3884
Author: Benjamin Otte <otte redhat com>
Date:   Wed Sep 19 22:39:47 2012 +0200

    blur: Do the same thing for rows and cols

 gtk/gtkcairoblur.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcairoblur.c b/gtk/gtkcairoblur.c
index b711f2b..3f944e2 100644
--- a/gtk/gtkcairoblur.c
+++ b/gtk/gtkcairoblur.c
@@ -133,7 +133,7 @@ _blurcol (guchar* pixels,
   zB = *((guchar*) ptr + 2) << zprec;
   zA = *((guchar*) ptr + 3) << zprec;
 
-  for (index = 1; index < height - 1; index++)
+  for (index = 0; index < height; index++)
     _blurinner (&ptr[index * rowstride],
                 &zR,
                 &zG,



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