diff -aurN abiword-plugins.orig/tools/abigochart/plugin.m4 abiword-plugins/tools/abigochart/plugin.m4 --- abiword-plugins.orig/tools/abigochart/plugin.m4 2005-12-27 12:09:54.000000000 +0100 +++ abiword-plugins/tools/abigochart/plugin.m4 2006-06-11 19:18:51.900687200 +0200 @@ -23,7 +23,7 @@ LIBGOffice_REQUIRED_VERSION=0.1.0 -PKG_CHECK_MODULES(GOFFICE, [libgoffice-1 >= $LIBGOffice_REQUIRED_VERSION],[ +PKG_CHECK_MODULES(GOFFICE, [libgoffice-0.3 >= $LIBGOffice_REQUIRED_VERSION],[ ABI_PLUGIN_REPORT([abigochart: okay]) ],[ ABI_PLUGIN_REPORT([abigochart: error libgoffice >= $LIBGOffice_REQUIRED_VERSION required]) abi_plugin_disable=yes diff -aurN abiword-plugins.orig/tools/abigochart/unix/AbiGOChart.cpp abiword-plugins/tools/abigochart/unix/AbiGOChart.cpp --- abiword-plugins.orig/tools/abigochart/unix/AbiGOChart.cpp 2006-03-26 15:28:54.000000000 +0200 +++ abiword-plugins/tools/abigochart/unix/AbiGOChart.cpp 2006-10-26 22:36:49.179956728 +0200 @@ -72,7 +72,7 @@ #include #include #include -#include +#include #include #include #include @@ -1102,7 +1102,7 @@ { m_Graph = NULL; m_Image = NULL; - m_Renderer = GOG_RENDERER (g_object_new (GOG_RENDERER_PIXBUF_TYPE, NULL)); + m_Renderer = GOG_RENDERER (g_object_new (GOG_RENDERER_CAIRO_TYPE, NULL)); width = height = 0; m_Guru = NULL; } @@ -1157,10 +1157,10 @@ GdkPixbuf *pixbuf; width = _width; height = _height; - gog_renderer_pixbuf_update (GOG_RENDERER_PIXBUF (m_Renderer), _width, _height, 1.0); + gog_renderer_cairo_update (GOG_RENDERER_CAIRO (m_Renderer), _width, _height, 1.0); if (m_Image) delete m_Image; - pixbuf = gog_renderer_pixbuf_get (GOG_RENDERER_PIXBUF (m_Renderer)); + pixbuf = gog_renderer_cairo_get_pixbuf (GOG_RENDERER_CAIRO (m_Renderer)); m_Image = new GR_UnixImage(NULL, pixbuf); g_object_ref(pixbuf); m_Image->scaleImageTo(m_pGOMan->getGraphics(),rec); @@ -1256,7 +1256,7 @@ /* the resolution of symbols in libgoffice must be forced because when creating the guru window, libglade needs foo_canvas_new. There might be a better solution..., I could not find one */ - g_module_close (g_module_open ("libgoffice-1", (GModuleFlags)0)); + g_module_close (g_module_open ("libgoffice-0.3", (GModuleFlags)0)); return 1; }