From 8faeeb151ca5dd6976f432c1f006578ea52bfe3b Mon Sep 17 00:00:00 2001 From: billh Date: Wed, 19 Jul 2006 15:09:38 +0000 Subject: [PATCH] Changes to the way Bonobo_Unknown is included, affects ORBit2/Bonobo environment only. See bug #313122. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@840 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 5 +++++ idl/Accessibility.idl | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4087812..c535799 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ * configure.in: Revved to 1.7.10, and edited the Xevie check (bug #319994). + + * idl/Accessibility.idl: + Reworked inclusion of Bonobo_Unknown.idl, to + avoid double-linking libs in the Bonobo environment. + Thanks to Michael Meeks for the workaround, see bug #313122. 2006-07-18 Bill Haneman modifications to patch from diff --git a/idl/Accessibility.idl b/idl/Accessibility.idl index c5be877..6822f22 100644 --- a/idl/Accessibility.idl +++ b/idl/Accessibility.idl @@ -33,6 +33,17 @@ #endif #ifndef _BONOBO_IDL_INCLUDED_ +#ifdef __ORBIT_IDL__ +%{ +#pragma include_defs bonobo/Bonobo.h +%} +#pragma inhibit push +#endif +#include +#ifdef __ORBIT_IDL__ +#pragma inhibit pop +#endif + #define _BONOBO_IDL_INCLUDED_ #include #endif /* _BONOBO_IDL_INCLUDED_ */ -- 2.7.4