Build failure of current trunk (r11646) if configured with '--enable-dbusapi':
'src/extension/dbus/document-interface.cpp' fails to compile:
CXX extension/dbus/document-interface.o
../../src/extension/dbus/document-interface.cpp: In function ‘gchar* document_interface_document_get_css(DocumentInterface*, GError**)’:
../../src/extension/dbus/document-interface.cpp:587: error: ‘glib’ has not been declared
../../src/extension/dbus/document-interface.cpp:587: error: expected `;' before ‘str’
../../src/extension/dbus/document-interface.cpp:588: error: ‘str’ was not declared in this scope
../../src/xml/repr.h: In function ‘gboolean document_interface_modify_css(DocumentInterface*, gchar*, gchar*, gchar*, GError**)’:
../../src/xml/repr.h:82: error: too few arguments to function ‘void sp_repr_css_write_string(SPCSSAttr*, Glib::ustring&)’
../../src/extension/dbus/document-interface.cpp:810: error: at this point in file
../../src/xml/repr.h: In function ‘gboolean document_interface_merge_css(DocumentInterface*, gchar*, gchar*, GError**)’:
../../src/xml/repr.h:82: error: too few arguments to function ‘void sp_repr_css_write_string(SPCSSAttr*, Glib::ustring&)’
../../src/extension/dbus/document-interface.cpp:833: error: at this point in file
make[3]: *** [extension/dbus/document-interface.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
System: OS X 10.7.4
Compiler: Apple's llvm-gcc-4.2
Sorry forgot to change some more things in src/extension/ dbus/document- interface. cpp (not detected as dbus was not enabled). Reverted my changes in rev 11646 as there were some more issues.