converting from a CORBA object to a Bonobo object



[PS.: I don't know if this is the right list, so please point me to
the right one]
[PS2.: Add me to the reply, since I'm not subscribed to the list]

Hi,

There is anyway to convert a CORBA Object to a Bonobo object so I can
use the macro ZOOM_REGION (BonoboObject) as defined by these lines:

#define ZOOM_REGION_TYPE         (zoom_region_get_type ())
#define ZOOM_REGION(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o),
ZOOM_REGION_TYPE, ZoomRegion))
#define ZOOM_REGION_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k),
ZOOM_REGION_TYPE, ZoomRegionClass))
#define IS_ZOOM_REGION(o)       (G_TYPE_CHECK__INSTANCE_TYPE ((o),
ZOOM_REGION_TYPE))
#define IS_ZOOM_REGION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k),
ZOOM_REGION_TYPE))

The bug http://bugzilla.gnome.org/show_bug.cgi?id=458361 clarifies why
I'm trying to do this.

Thanks,
Carlos.


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