Actually make it work on 1.9. Had to disable some stuff, temporarily.
This commit is contained in:
@@ -20,7 +20,9 @@ _sugar_la_LIBADD = \
|
||||
$(top_builddir)/lib/src/libsugarprivate.la
|
||||
|
||||
_sugar_la_SOURCES = \
|
||||
_sugarmodule.c
|
||||
_sugarmodule.c \
|
||||
xulrunner.cpp \
|
||||
xulrunner.h
|
||||
|
||||
nodist__sugar_la_SOURCES = _sugar.c
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "xulrunner.h"
|
||||
|
||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
#include <pygobject.h>
|
||||
|
||||
@@ -17,6 +19,8 @@ init_sugar(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
xulrunner_startup();
|
||||
|
||||
init_pygobject ();
|
||||
|
||||
Pycairo_IMPORT;
|
||||
|
||||
Reference in New Issue
Block a user