[gegl] gegl:gegl clear error message between invocations
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl:gegl clear error message between invocations
- Date: Fri, 15 Apr 2016 23:13:25 +0000 (UTC)
commit afc7c20d115ab84e77f33dd02f3b38c64ac68f68
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Apr 16 00:12:09 2016 +0100
gegl:gegl clear error message between invocations
operations/common/gegl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/gegl.c b/operations/common/gegl.c
index 6218438..3a7a36a 100644
--- a/operations/common/gegl.c
+++ b/operations/common/gegl.c
@@ -84,12 +84,12 @@ prepare (GeglOperation *operation)
if (error)
{
- gegl_node_set (gegl, "error", error->message, NULL);
g_object_set (operation, "error", error->message, NULL);
- //g_object_notify (operation, "error");
g_error_free (error);
error = NULL;
}
+ else
+ g_object_set (operation, "error", "", NULL);
/*
gegl_operation_meta_redirect (operation, "scale", multiply, "value");
gegl_operation_meta_redirect (operation, "std-dev", blur, "std-dev-x");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]