[gimp/soc-2010-cage-2] 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-2] gimpcagetool: add a warning if the coef buffer isn't initialised
- Date: Sun, 8 Aug 2010 11:45:13 +0000 (UTC)
commit 9677eeeffc263913a76481e2d714036c65964291
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]