On Fri, Jun 15, 2012 at 5:13 PM, Martin Schlemmer <martin.schlem...@nwu.ac.za> wrote: > > Might have spoken too soon, or different issue. I get the following backtrace > only with 1.260 and not 1.240. > To reproduce I simply used the latest Git versions of Glib::Soup and > Gtk2::WebKit, and did: > > ---------------------------- > $view = Gtk2::WebKit::WebView->new; > $session = Gtk2::WebKit->get_default_session; > ----------------------------
Glib::Soup should not be used. This was my attempt at building bindings by hand until Glib::Object::Introspection was announced. The modules HTTP::Soup and HTTP::Soup::Gnome are the way to go. There's a reason why Glib::Soup is not in CPAN. The module is incomplete. I would suggest that programs using Glib::Soup get migrated to HTTP::Soup and programs using Gtk2::WebKit migrate to load WebKit's bindings through Glib's introspection either through Gtk3::WebKit or Glib::Object::Introspection. Even if you use Gtk2, you can still use Gtk3::WebKit. Simply load the module with: # Backward compatible mode with Gtk2 using glib introspection use Gtk3::WebKit version => '1.0', package => 'Gtk2::WebKit'; The above code snippet will do this (which is how to load a glib introspection library): # Load Gtk2::WebKit through glib introspection use Glib::Object::Introspection; Glib::Object::Introspection->setup( basename => 'WebKit', version => '1.0', package => 'Gtk2::WebKit', ); -- Emmanuel Rodriguez _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list