Problems with GHashTable in signal handler
- From: Jörn Reder <joern zyn de>
- To: Gtk Perl List <gtk-perl-list gnome org>
- Cc: Florian Ragwitz <rafl debian org>
- Subject: Problems with GHashTable in signal handler
- Date: Sun, 25 Oct 2009 13:55:44 +0100
Hi,
I try to use the "create-plugin-widget" signal of Gtk2::WebKit::WebView,
which passes a GHashTable to the callback. Here it's signature from the
docs:
GtkWidget* user_function (WebKitWebView *web_view,
gchar *mime_type,
gchar *uri,
GHashTable *param,
gpointer user_data) : Run Last / Action
(from http://webkitgtk.org/reference/webkitgtk-WebKitWebView.html#WebKitWebView-create-plugin-widget )
Perl dies with this error message when my signal handler is called:
GType GHashTable (146176672) is not registered with gperl
Since signal handling is completely covered on Glib level I don't think
this problem is related to Gtk2::WebKit. The Glib perldoc says
GHashTable is bound to the native Perl hash datatype. I grep'ed the
sources of Glib and Gtk2 to find any examples of passing GHashTables to
Perl - with no luck.
Any help on this is appreciated ;)
I am using Perl 5.10.1 and these module versions on Debian sid:
Glib::VERSION = 1.222
Gtk2::VERSION = 1.221
Gtk2::WebKit::VERSION = 0.06
Thanks,
Jörn
--
LINUX - Linux Is Not gnU linuX
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]