Re: compile error



On 2002.09.05 10:59 Ford Prefect wrote:
> hi
> 
> 
> Wanted to compile balsa 1.4.
> Configure says everything's fine. I use Debian Woody 3.0.
> 
> sendmsg-window.c: In function `print_message_cb':
> sendmsg-window.c:3552: warning: passing arg 2 of `balsa_information' 
> from incompatible pointer type
> sendmsg-window.c:3552: too few arguments to function 
> `balsa_information'
> 
> What to do?

Apply this patch (prolly also needed in cvs HEAD:

--- src/sendmsg-window.c	Mon Aug  5 19:05:53 2002
+++ src/sendmsg-window.c.new	Thu Sep  5 20:02:49 2002
@@ -3548,6 +3548,7 @@
  #ifndef HAVE_GNOME_PRINT
      balsa_information(
  	LIBBALSA_INFORMATION_ERROR,
+        GTK_WINDOW(bsmsg->window),
  	_("Balsa has been compiled without gnome-print support.\n"
  	  "Printing is not possible."));
  #else



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