[gegl] fractal-explorer: Change g_error() in process to a g_warning()+FALSE return



commit 4acaa3ed65ce414efd74cb7fcdf6bb65d1b9b1ed
Author: Mukund Sivaraman <muks banu com>
Date:   Sat May 3 19:55:17 2014 +0530

    fractal-explorer: Change g_error() in process to a g_warning()+FALSE return

 operations/common/fractal-explorer.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/fractal-explorer.c b/operations/common/fractal-explorer.c
index 0306b09..30b7f22 100644
--- a/operations/common/fractal-explorer.c
+++ b/operations/common/fractal-explorer.c
@@ -345,7 +345,8 @@ process (GeglOperation       *operation,
               break;
 
             default:
-              g_error (_("Unsupported fractal type"));
+              g_warning (_("Unsupported fractal type: %d"), o->fractaltype);
+              return FALSE;
             }
 
           a = nexta;


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