summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-04 22:22:07 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-04 22:22:07 +0100
commit73050d01c0f2672544be3e18d22a59b53cff6765 (patch)
tree418b6891a85afffbf1655bd75ca5c15ba2a76a99
parentd9fca3c42ab1bd9a95e45836204177474fb6ac39 (diff)
downloadgmathlib-73050d01c0f2672544be3e18d22a59b53cff6765.tar.gz
gmathlib-73050d01c0f2672544be3e18d22a59b53cff6765.tar.bz2
* Allow having GMathBoxed for NULL symbols
-rw-r--r--cairo/gmathboxed.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cairo/gmathboxed.c b/cairo/gmathboxed.c
index 67cdca3..4d8cdc7 100644
--- a/cairo/gmathboxed.c
+++ b/cairo/gmathboxed.c
@@ -33,9 +33,6 @@ gmathboxed_new (GMathSymbol *symbol)
{
GMathBoxed *boxed;
- if (!symbol)
- return NULL;
-
boxed = g_new0 (GMathBoxed, 1);
boxed->symbol = symbol;
boxed->parent = NULL;