Gabor Szabo wrote:
In Padre one of the developer tests generates these two warnings:

xt/mimetype.t .............. Error: Unable to initialize gtk, is
DISPLAY set properly?
Use of uninitialized value $Wx::_universal in concatenation (.) or
string at /home/gabor/perl5/lib/perl5/i486-linux-gnu-thread-multi/Wx.pm
line 176.
Use of uninitialized value $Wx::_static in concatenation (.) or string
at /home/gabor/perl5/lib/perl5/i486-linux-gnu-thread-multi/Wx.pm line
177.
xt/mimetype.t .............. ok


Maybe we should not run that particular test file when there is no $DISPALY
(I was runing through an X-less ssh connection)
but maybe this is something that needs to be fixed in Wx anyway.

Probably the former. On the one hand it would be nice if "use Wx" wouldn't require a display. On the other hand, creating a Wx::App will always require a display, and I'm not sure which wxWidgets classes can be used without a Wx::App instance.

Regards,
Mattia

Reply via email to