[monet/monet-xml] mn-style: MnConfig is now an object so should not be allocated with g_new0



commit 0fd5ce5eefd5e975075e31675589e8a9024fe4af
Author: Thomas Wood <thos gnome org>
Date:   Sun Jul 25 18:03:56 2010 +0100

    mn-style: MnConfig is now an object so should not be allocated with g_new0

 monet/mn-style.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/monet/mn-style.c b/monet/mn-style.c
index 9f9f77e..b94330c 100644
--- a/monet/mn-style.c
+++ b/monet/mn-style.c
@@ -111,7 +111,6 @@ mn_style_init (MnStyle *self)
                                               g_str_equal,
                                               g_free,
                                               (GDestroyNotify) mn_palette_free);
-  self->priv->config = g_new0 (MnConfig, 1);
 }
 
 MnStyle *



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