Re: gtkhtml won't compile on 1.0.0 (patch attached)

From: Date: Tue, 25 Nov 2003 01:55:01 +0000
Subject: Re: gtkhtml won't compile on 1.0.0 (patch attached)
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-564@lists.php.net to get a copy of this message
They are in CVS, as http://cvs.php.net/co.php/php-gtk/ext/gtkhtml/Attic/gtkhtml.overrides_for_gtkhtml.1.1?sa=1&r=1.1.2.1 http://cvs.php.net/co.php/php-gtk/ext/gtkhtml/Attic/gtkhtml.defs_for_gtkhtml.1.1?sa=1&r=1.1.2.1 as the note says, since GTK1 is kind of depreciated, there isnt a real 'good' solution for this. Big Problem is that some distributions distribute Gtkhtml1.1, others only Gtkhtml1.0 - and they are not compatible... Hopefully the 2 patches already sent to the mailing list + the rather hidden away references in CVS will help others... Regards Alan Alessandro Sappia wrote:
HI all I discovered that gtkhtml extension won't compile with php-gtk-1.0.0.tar.gz so I read and a made the patch attached bye alx ------------------------------------------------------------------------ diff -uar old/php-gtk-1.0.0/ext/gtkhtml/gtkhtml.defs new/php-gtk-1.0.0/ext/gtkhtml/gtkhtml.defs --- old/php-gtk-1.0.0/ext/gtkhtml/gtkhtml.defs 2003-10-10 10:52:36.000000000 +0200 +++ new/php-gtk-1.0.0/ext/gtkhtml/gtkhtml.defs 2003-11-25 02:25:57.000000000 +0100 @@ -348,6 +348,7 @@
    (parameter (type-and-name GdkAtom   selection))
    (parameter (type-and-name  gint      type))
    (parameter (type-and-name   gint32    time))
+   (parameter (type-and-name gboolean as_cite))  )
  ;; Loading
@@ -514,7 +515,7 @@ (of-object HTML (Gtk)) (c-name gtk_html_set_indent) (return-type none) - (parameter (type-and-name gint level)) + (parameter (type-and-name gint* level)) ) (method modify_indent_by_delta @@ -574,6 +575,7 @@ (of-object HTML (Gtk)) (c-name gtk_html_paste) (return-type none) + (parameter (type-and-name gboolean as_cite))
 )     (method undo
(of-object HTML (Gtk)) @@ -690,14 +692,14 @@ (c-name gtk_html_get_font_color) (return-type GdkColor) ) - -(method set_cursor_xy - (of-object HTML (Gtk)) - (c-name gtk_html_set_cursor_xy) - (return-type none) - (parameter (type-and-name gint x)) - (parameter (type-and-name gint y)) -) +; don't work now +;(method set_cursor_xy +; (of-object HTML (Gtk)) +; (c-name gtk_html_set_cursor_xy) +; (return-type none) +; (parameter (type-and-name gint x)) +; (parameter (type-and-name gint y)) +;) ; links !


« previous php.gtk.dev (#564) next »