[gimp] app: include gegl-plugin.h in gimpdrawable.c



commit e30cdddeb010b0f2798f8239b433bdfceda20924
Author: �yvind Kolås <pippin gimp org>
Date:   Wed Mar 17 22:21:33 2010 +0000

    app: include gegl-plugin.h in gimpdrawable.c
    
    GimpDrawable uses gegl_operation_invalidate () which is part of the
    plug-in/operation API, not the core GEGL API.

 app/core/gimpdrawable.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index af7dfe5..75e01be 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -18,6 +18,7 @@
 #include "config.h"
 
 #include <gegl.h>
+#include <gegl-plugin.h>
 
 #include "libgimpbase/gimpbase.h"
 #include "libgimpcolor/gimpcolor.h"
@@ -715,7 +716,7 @@ gimp_drawable_real_update (GimpDrawable *drawable,
       rect.width  = width;
       rect.height = height;
 
-      gegl_operation_invalidate (operation, &rect);
+      gegl_operation_invalidate (GEGL_OPERATION (operation), &rect, FALSE);
 
       g_object_unref (operation);
     }



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