[gimp] app: actually use the calculated checksum in gimp_brush_get_checksum()



commit b8ae89c37f0d6c4170694c44f53c372546df6ae3
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 20 21:15:37 2016 +0100

    app: actually use the calculated checksum in gimp_brush_get_checksum()

 app/core/gimpbrush.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpbrush.c b/app/core/gimpbrush.c
index f1e6b9d..6d1b5b1 100644
--- a/app/core/gimpbrush.c
+++ b/app/core/gimpbrush.c
@@ -492,6 +492,8 @@ gimp_brush_get_checksum (GimpTagged *tagged)
                          (const guchar *) &brush->priv->y_axis,
                          sizeof (brush->priv->y_axis));
 
+      checksum_string = g_strdup (g_checksum_get_string (checksum));
+
       g_checksum_free (checksum);
     }
 


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