libgtkhtml - module - 1/2 done - can anybody help.

From: Date: Fri, 21 Sep 2001 19:15:31 +0000
Subject: libgtkhtml - module - 1/2 done - can anybody help.
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-65@lists.php.net to get a copy of this message
I got the libgtkhtml widget half built - config option, a bit of the difinition file fixed gconf_init stuff... anyway - this stuff is way behond me :) - can some one help... - suggestions would be good... Attached is the module just stick into ext. and run phpize, make clean /configure --enable-gtkhtml --enable-scintilla make etc. this code <? if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') dl('php_gtk.dll'); else dl('php_gtk.so'); $window = &new GtkWindow(); $window->set_border_width(10); $button = &new GtkHTML(); $button->show(); $window->add($button); $window->show_all(); Gtk::main(); ?> now causes.. Program received signal SIGSEGV, Segmentation fault. 0x40942525 in gtk_layout_get_type () from /usr/lib/libgtk-1.2.so.0 (gdb) bt #0 0x40942525 in gtk_layout_get_type () from /usr/lib/libgtk-1.2.so.0 #1 0x4037d06f in gtk_html_update_styles () from /usr/lib/libgtkhtml.so.15 #2 0x4094c4a3 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0 #3 0x4097b38f in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #4 0x409795d3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #5 0x409b0538 in gtk_widget_size_allocate () from /usr/lib/libgtk-1.2.so.0 #6 0x409b8fd0 in gtk_window_set_default_size () from /usr/lib/libgtk-1.2.so.0 #7 0x4094c4a3 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0 #8 0x4097b38f in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #9 0x409795d3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #10 0x409b0538 in gtk_widget_size_allocate () from /usr/lib/libgtk-1.2.so.0 #11 0x409b8653 in gtk_window_set_default_size () from /usr/lib/libgtk-1.2.so.0 #12 0x4094c619 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0 #13 0x4097b38f in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #14 0x409795d3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #15 0x409add8b in gtk_widget_show () from /usr/lib/libgtk-1.2.so.0 #16 0x40909fff in gtk_container_set_focus_hadjustment () from /usr/lib/libgtk-1.2.so.0 #17 0x409ae433 in gtk_widget_show_all () from /usr/lib/libgtk-1.2.so.0 #18 0x4025876d in zif_gtk_widget_show_all (ht=0, return_value=0x8151314, this_ptr=0x8156794, return_value_used=0) at gen_gtk.c:3968 #19 0x80e68ef in execute (op_array=0x8151494) at ./zend_execute.c:1590 #20 0x80c7b8b in zend_execute_scripts (type=8, file_count=3) at zend.c:806 #21 0x805ccab in php_execute_script (primary_file=0xbffffbc8) at main.c:1310 #22 0x805ae4c in main (argc=2, argv=0xbffffc44) at cgi_main.c:737 (gdb) quit ----------part3bab91d35757a--

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