Subject: | Gtk2::TrayIcon doesn't seem to like Gtk2 + Threads |
If I issue the following:
use Gtk2::TrayIcon;
use Gtk2 '-init -threads-init';
my $tray_icon = Gtk2::TrayIcon->new( "boo" );
I get:
GLib-GObject-WARNING **: invalid (NULL) pointer instance at - line 3.
GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed at - line 3.
If I remove the threads init.. Then all is well.