where is error? (Glib::spawn_async)
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtkmm-list gnome org
- Subject: where is error? (Glib::spawn_async)
- Date: Fri, 3 Nov 2006 01:06:35 +0200
Hi.
Where is error in this code fragment?
std::vector <std::string> yelp_arguments;
yelp_arguments.push_back ("yelp");
yelp_arguments.push_back ("ghelp:///usr/share/gnome/help/gedit/C/gedit.xml");
try
{
Glib::spawn_async (".", yelp_arguments, std::vector <std::string> (),
Glib::SPAWN_SEARCH_PATH);
return;
}
catch (Glib::Error& exception)
{
g_print ("%s...\n", exception.what ().c_str ());
}
I get this in terminal:
(yelp:14036): Gtk-WARNING **: cannot open display:
and Yelp window is never shown.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]