[libgsf] python: fix compilation problem.



commit 1658d0acec8672f5c24fcd3e3f5d02f2fdd9ea5a
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 28 11:19:40 2011 -0400

    python: fix compilation problem.

 NEWS                    |    3 ++-
 python/ChangeLog        |    5 +++++
 python/gsfgnomemodule.c |    2 ++
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index bf6bcdf..7fafd7c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,8 @@
 libgsf 1.14.21
 
 Gilles Dartiguelongue:
-	* Implement --without-gconf for explicit dependency control.
+	* Implement --without-gconf for explicit dependency control.  [#645775]
+	* Fix python compilation problem.  [#645778]
 
 --------------------------------------------------------------------------
 libgsf 1.14.20
diff --git a/python/ChangeLog b/python/ChangeLog
index cf302b3..3983e35 100644
--- a/python/ChangeLog
+++ b/python/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-28  Morten Welinder  <terra gnome org>
+
+	* gsfgnomemodule.c: declare pygsfgnome_register_classes.  Fixes
+	#645778.
+
 2011-03-24  Morten Welinder <terra gnome org>
 
 	* Release 1.14.20
diff --git a/python/gsfgnomemodule.c b/python/gsfgnomemodule.c
index 665a003..dbb2c46 100644
--- a/python/gsfgnomemodule.c
+++ b/python/gsfgnomemodule.c
@@ -27,6 +27,8 @@
 extern PyMethodDef pygsfgnome_functions[];
 extern DL_EXPORT(void) initgnome (void);
 
+extern void pygsfgnome_register_classes(PyObject *d);
+
 DL_EXPORT(void)
 initgnome (void)
 {



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