Re: make of Gdk-pixbuf 0.8.0



From: Akira TAGOH <at@ue-spacy.com>
Subject: Re: make of Gdk-pixbuf 0.8.0
Date: Sat, 27 May 2000 22:21:22 +0900 (JST)

> > If gnome-libs is detected, the GnomeCanvasPixbuf item is built, and
> > installed as the library libgnomecanvaspixbuf, so even in this case, the
> > base libgdk_pixbuf should have no gnome dependencies.  What is the
> > problem?
> 
> I understood, well then, Is it the coding mistake of
> gdk-pixbuf/test-gdk-pixbuf.c that though gnome-libs couldn't
> be detected, gnome.h should be necessary?

quick fix might be like this?
or should it be branched for gnome use?
--
         yashi

--- test-gdk-pixbuf.c~  Fri May  5 12:25:22 2000
+++ test-gdk-pixbuf.c   Sat May 27 22:55:41 2000
@@ -22,10 +22,8 @@
  */
 
 #include <config.h>
-#include <gnome.h>
 #include "gdk-pixbuf.h"
 #include "gdk-pixbuf-loader.h"
-#include "gnome-canvas-pixbuf.h"
 
 
 
 
@@ -228,11 +226,11 @@
 {
        int result;
        
-       result = EXIT_SUCCESS;
+       result = 0;
 
        /* Run some tests. */
        if (!simple_composite_test ()) {
-               result = EXIT_FAILURE;
+               result = 1;
        }
 
        return result;




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