Re: error building librsvg



On Sun, Dec 28, 2003 at 11:32:03PM +0000, Jean-Françcois Chevrette wrote:
> I've "fixed" that by putting
> #undef GTK_DISABLE_DEPRECATED
> 
> BEFORE
> 
> #include <libgnomeui/gnome-entry.h>
> 
> in
> 
> $INSTALL_PATH/garnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h

i've fixed it by putting #ifndef GTK_DISABLE_DEPRECATED below 
#ifndef GNOME_DISABLE_DEPRECATED in gnome-entry.h in the same dir (and
and matching #endif at the end of the file).

I don't know what the best fix is, but gtk in garnome is build with
GTK_DISABLE_DEPRECATED so i guess other libraries also shouldn't build
against deprecated gtk headers. With the 'undef fix' libsrvg will be
indirectly build against a deprecated part of the gtk api.. 

  Sjoerd
-- 
It is impossible to travel faster than light, and certainly not desirable,
as one's hat keeps blowing off.
		-- Woody Allen



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