[goffice] 2009-05-02 Jean Brefort <jean brefort normalesup org>



commit 8f9fa08d22477e7142fdbeb5a250c07ceb5eb141
Author: Jean Brefort <jean acer fbx proxad net>
Date:   Sat May 2 22:52:06 2009 +0200

    2009-05-02  Jean Brefort  <jean brefort normalesup org>
    
    	* goffice/graph/gog-styled-object.c (gog_style_new): have it back to fix
    	some compatibility issues.
    	* goffice/graph/gog-styled-object.h: ditto.
---
 ChangeLog                         |    6 ++++++
 goffice/graph/gog-styled-object.c |    7 +++++++
 goffice/graph/gog-styled-object.h |    1 +
 3 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 47d261b..1ff8feb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-02  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/graph/gog-styled-object.c (gog_style_new): have it back to fix
+	some compatibility issues.
+	* goffice/graph/gog-styled-object.h: ditto.
+
 2009-04-29  Morten Welinder  <terra gnome org>
 
 	* goffice/graph/gog-object-xml.h (gog_object_new_from_xml,
diff --git a/goffice/graph/gog-styled-object.c b/goffice/graph/gog-styled-object.c
index f991fcd..444b7ad 100644
--- a/goffice/graph/gog-styled-object.c
+++ b/goffice/graph/gog-styled-object.c
@@ -292,3 +292,10 @@ GSF_CLASS_FULL (GogStyledObject, gog_styled_object, NULL, NULL,
 	   gog_styled_object_class_init, NULL, gog_styled_object_init,
 	   GOG_TYPE_OBJECT, 0,
 	   GSF_INTERFACE (gog_styled_object_so_init, GO_TYPE_STYLED_OBJECT))
+
+
+GOStyle *
+gog_style_new (void)
+{
+	return g_object_new (gog_style_get_type (), NULL);
+}
diff --git a/goffice/graph/gog-styled-object.h b/goffice/graph/gog-styled-object.h
index f4d676d..6d7c02d 100644
--- a/goffice/graph/gog-styled-object.h
+++ b/goffice/graph/gog-styled-object.h
@@ -49,6 +49,7 @@ typedef struct {
 #define GOG_STYLED_OBJECT_GET_CLASS(o)	(G_TYPE_INSTANCE_GET_CLASS ((o), GOG_TYPE_STYLED_OBJECT, GogStyledObjectClass))
 
 GType     gog_styled_object_get_type (void);
+GOStyle	 *gog_style_new (void);
 
 G_END_DECLS
 



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