soylent r241 - trunk/libsoylent
- From: svenp svn gnome org
- To: svn-commits-list gnome org
- Subject: soylent r241 - trunk/libsoylent
- Date: Thu, 24 Jul 2008 13:31:26 +0000 (UTC)
Author: svenp
Date: Thu Jul 24 13:31:25 2008
New Revision: 241
URL: http://svn.gnome.org/viewvc/soylent?rev=241&view=rev
Log:
added global cleanup functions
Modified:
trunk/libsoylent/soylent.c
trunk/libsoylent/soylent.h
Modified: trunk/libsoylent/soylent.c
==============================================================================
--- trunk/libsoylent/soylent.c (original)
+++ trunk/libsoylent/soylent.c Thu Jul 24 13:31:25 2008
@@ -30,5 +30,12 @@
sl_init (GError **error)
{
g_type_init ();
+ sl_attribute_handler_init ();
return sl_book_setup (error);
}
+
+void
+sl_cleanup (void)
+{
+ sl_attribute_handler_cleanup ();
+}
Modified: trunk/libsoylent/soylent.h
==============================================================================
--- trunk/libsoylent/soylent.h (original)
+++ trunk/libsoylent/soylent.h Thu Jul 24 13:31:25 2008
@@ -33,5 +33,6 @@
#include "sl-book.h"
gboolean sl_init (GError **error);
+void sl_cleanup (void);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]