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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]