gtkhtml patch



Hi,

Got no reply from  Larry Ewing  <lewing ximian com>, if somebody can
commit this patch ?

Christian

From: Christian Marillat <marillat christian wanadoo fr>
Subject: Patch for gtkhtml
To:  Larry Ewing  <lewing ximian com>
Date: 01 Sep 2001 00:37:13 +0200
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

Hi,

Here is a patch to build gtkhtml on alpha.

The build fail with the following error:

gtkhtml-stream.c:61: conflicting types for `gtk_html_stream_write'
gtkhtml-stream.h:43: previous declaration of `gtk_html_stream_write'
gtkhtml-stream.c: In function `gtk_html_stream_log_new':
gtkhtml-stream.c:157: warning: passing arg 3 of `gtk_html_stream_new' from incompatible pointer type
make[3]: *** [gtkhtml-stream.lo] Error 1
make[3]: Leaving directory `/usr/local/src/build/g/gtkhtml-0.11.1/src'


In gtkhtml-stream.c the 3rd parameter for gtk_html_stream_write() is guint,
but it was declared as size_t in gtkhtml-stream.h.

Christian

--- src/gtkhtml-stream.h.orig   Thu Aug 23 00:16:07 2001
+++ src/gtkhtml-stream.h        Thu Aug 23 00:17:31 2001
@@ -40,7 +40,7 @@
                                          gpointer                user_data);
 void           gtk_html_stream_write     (GtkHTMLStream          *stream,
                                          const gchar            *buffer,
-                                         size_t                  size);
+                                         guint                  size);
 void           gtk_html_stream_destroy   (GtkHTMLStream          *stream);
 void           gtk_html_stream_close     (GtkHTMLStream          *stream,
                                          GtkHTMLStreamStatus status);




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