On 05/06/2007 09:07:44 PM, Jean-Luc Coulon (f5ibh) wrote:
> Hi,
> 
> I got:
> [snip]
> D_FORTIFY_SOURCE=2 -c html.c
> In file included from /usr/include/libgtkhtml-3.8/gtkhtml/gtkhtml.h:28,
>                  from html.c:62:
> /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:90: error:  
> conflicting types for 'GnomePrintContext'
> [snip]

It clearly is difficult to get it right - we are through a third  
iteration of this conditional code. Following works for me but there are  
some indications it still fails to work right under certain conditions...

Pawel

Index: libbalsa/html.h
===================================================================
--- libbalsa/html.h     (revision 7624)
+++ libbalsa/html.h     (working copy)
@@ -37,7 +37,7 @@

  # ifdef HAVE_GTKHTML
  /* PRINTING support available only for GTKHTML3.  */
-#if defined(HAVE_GTKHTML3) && !defined(HAVE_GTK_PRINT)
+#if defined(HAVE_GTKHTML3) && !defined(HAVE_GTKHTML_GTKPRINT)
  #  include <libgnomeprint/gnome-print.h>
  #else
  typedef void GnomePrintContext;
_______________________________________________
balsa-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to