On Wed, Apr 12, 2000 at 09:23:03PM -0500, Lars Clausen wrote:
> On Thu, 13 Apr 2000, [EMAIL PROTECTED] wrote:
> 
> > I was wondering what people think of the idea of dropping imlib support
> > in dia altogether in favour of gdk-pixbuf.  The next version of
> 
> I think we should keep it for now, since a lot of people will have imlib
> compiled but not gdk-pixbuf... on the other hand, it's better to get the
> changes out early.  Code-wise, it doesn't matter much.


#ifdef USE_IMLIB
   do_it_the_old_broken_way ();
#else
  do_it_the_new_way_with_pixbuf ();
#endif


And of course use autoconf; if pixbuf is found, don't use imlib.

(Of course I have a big mouth and I'm not writing any code, but
this looks to me like the correct way to make progressive
changes, specially when backwards compatibility is concerned.)


[]s,
                                               |alo
                                               +----
--
          Hack and Roll  ( http://www.hackandroll.org )
            News for, uh, whatever it is that we are.


http://www.webcom.com/lalo           mailto:[EMAIL PROTECTED]
                 pgp key in the personal page

Brazil of Darkness (RPG)    ---     http://zope.gf.com.br/BroDar

Reply via email to