[gimp/gimp-2-6] Bug 554658 – Path Dialog: Path preview pics not to see constantly



commit fe9e5c6db0b9c8be5bb0118f201891370be1a52c
Author: Massimo Valentini <sixtysix inwind it>
Date:   Tue Jul 7 17:05:42 2009 +0200

    Bug 554658 â?? Path Dialog: Path preview pics not to see constantly
    
    Always initialize the 'status' member of a newly allocated cairo_path_t
    to the value CAIRO_STATUS_SUCCESS as required to successively call
    cairo_append_path().
    (cherry picked from commit 5be4f235a392be003c47ac652ce874528875170d)

 app/vectors/gimpvectors.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/vectors/gimpvectors.c b/app/vectors/gimpvectors.c
index db9cbe8..eebf0fa 100644
--- a/app/vectors/gimpvectors.c
+++ b/app/vectors/gimpvectors.c
@@ -1050,6 +1050,7 @@ gimp_vectors_real_make_bezier (const GimpVectors *vectors)
   if (cmd_array->len > 0)
     {
       ret_bezdesc = g_new (GimpBezierDesc, 1);
+      ret_bezdesc->status = CAIRO_STATUS_SUCCESS;
       ret_bezdesc->num_data = cmd_array->len;
       ret_bezdesc->data = (cairo_path_data_t *) cmd_array->data;
       g_array_free (cmd_array, FALSE);



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