[Lazarus] IDE: Gdk-CRITICAL error

Marc Weustink marc.weustink at cuperus.nl
Thu Nov 4 10:27:50 CET 2010

patspiper wrote:
> I get sometimes the following error when I click on any IDE window:
> (lazarus:4991): Gdk-CRITICAL **: gdk_window_get_state: assertion
> `GDK_IS_WINDOW (window)' failed
> What is 4991, and what does this error mean?

4991 is I guess your process id.
The error means that we call a function which expects a gdk_window 
pointer, but we pass something else, probably a nil.
It doesn't hurt, since gdk/gtk checkes against nil. It only prints these 
messages and means that we need to find the call and check for nil.


More information about the Lazarus mailing list