[gimp/soc-2010-cage] gimpcagetool: add a warning if the coef buffer isn't initialised
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage] gimpcagetool: add a warning if the coef buffer isn't initialised
- Date: Tue, 27 Jul 2010 15:00:25 +0000 (UTC)
commit 8d7f99bfde32d80c8ad029d6cda8451aad5c90b9
Author: Michael Muré <batolettre gmail com>
Date: Tue Jul 27 16:59:33 2010 +0200
gimpcagetool: add a warning if the coef buffer isn't initialised
app/tools/gimpcagetool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c
index a75f51f..21d299f 100644
--- a/app/tools/gimpcagetool.c
+++ b/app/tools/gimpcagetool.c
@@ -582,7 +582,7 @@ gimp_cage_tool_process (GimpCageTool *ct,
GimpProgress *progress = gimp_progress_start (GIMP_PROGRESS (display),
_("Blending"),
FALSE);
-
+ g_return_if_fail (ct->coef);
if (GIMP_IS_LAYER (drawable))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]