Code

clean up tabs and DOS-ishness
[inkscape.git] / src / libcroco / cr-stylesheet.c
index 9aeb551e40e6055bf665476854c155596d0542f1..06b27fcab2811c07fef0a182af9e4be58f2cdf09 100644 (file)
@@ -36,9 +36,7 @@
 CRStyleSheet *
 cr_stylesheet_new (CRStatement * a_stmts)
 {
-        CRStyleSheet *result;
-
-        result = g_try_malloc (sizeof (CRStyleSheet));
+        CRStyleSheet *result = (CRStyleSheet *)g_try_malloc (sizeof (CRStyleSheet));
         if (!result) {
                 cr_utils_trace_info ("Out of memory");
                 return NULL;