Commit 6b1c82d3 authored by Michael Meeks's avatar Michael Meeks

fixup for new bonobo.

parent a2fcfc01
......@@ -61,7 +61,7 @@ ms_escher_blip_new (guint8 const *data, guint32 len, char const *repoid,
blip->reproid = repoid;
#ifdef ENABLE_BONOBO
blip->stream = gnome_stream_mem_create (mem, len, TRUE);
blip->stream = bonobo_stream_mem_create (mem, len, TRUE);
#else
blip->raw_data = mem;
#endif
......@@ -74,7 +74,7 @@ ms_escher_blip_destroy (EscherBlip *blip)
blip->reproid = NULL;
#ifdef ENABLE_BONOBO
if (blip->stream)
gnome_object_destroy (GNOME_OBJECT (blip->stream));
bonobo_object_destroy (BONOBO_OBJECT (blip->stream));
blip->stream = NULL;
#else
g_free (blip->raw_data);
......
......@@ -15,7 +15,7 @@
typedef struct {
char const * reproid;
#ifdef ENABLE_BONOBO
GnomeStream * stream;
BonoboStream * stream;
#else
guint8 * raw_data;
#endif
......
......@@ -13,8 +13,8 @@
#include "config.h"
#ifdef ENABLE_BONOBO
# include <bonobo/gnome-stream.h>
# include <bonobo/gnome-stream-memory.h>
# include <bonobo/bonobo-stream.h>
# include <bonobo/bonobo-stream-memory.h>
# include "sheet-object-container.h"
#else
# include "sheet-object.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment