RE: Error when firefox runs from application: (firefox-bin:15068):Gdk-WARNING **: gdk_property_get():
- From: "zze-NextDevices THAMIN C ext RD-MAPS-CAE" <cthamin ext orange-ftgroup com>
- To: "Evgeny Rippi" <repekto argosoft gmail com>, <gtkmm-list gnome org>
- Subject: RE: Error when firefox runs from application: (firefox-bin:15068):Gdk-WARNING **: gdk_property_get():
- Date: Wed, 25 Oct 2006 15:54:32 +0200
Hi,
I am not sur but you can try to add '&' at end of command like this :
int main()
{
system ("/usr/bin/firefox --no-remote file:///home/ananas/UsageGUIUnit/index.html & ");
std::cout << "end" << std::endl;
}
Good luck.
Tchao Tchao.
-----Message d'origine-----
De : gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] De la part de Evgeny Rippi
Envoyé : mercredi 25 octobre 2006 14:33
À : gtkmm-list gnome org
Objet : Error when firefox runs from application: (firefox-bin:15068):Gdk-WARNING **: gdk_property_get():
Hello,
I start "firefox" from my application by using system() call.
This is a simple example of my case:
int main()
{
system ("/usr/bin/firefox file:///home/ananas/UsageGUIUnit/index.html");
std::cout << "end" << std::endl;
}
Sometimes I get no error in the console, the browser starts and my application terminates with "end" in the console and the browser remains running.
But at the most I get the following error:
(firefox-bin:15068): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)
And my application dosen't terminate in this case. It suspends at the
system() point.
How to solve it? I need to start firefox (or mozilla) from my application (that is using gtkmm) without suspending on the point of
system() call.
Please, give me advises and ideas.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]