GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Aug 23, 2016 9:04 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Gtk-CRITICAL **: Problem
PostPosted: Tue Feb 18, 2014 1:08 pm 

Joined: Tue Feb 11, 2014 12:03 pm
Posts: 1
Hello everybody,

I have a problem and I'm desperate. I wrote a program with anjuta and gtk. If I run it in anjuta, everything works perfectly.
Now I wanted to start the program without anjuta. If I try to open the file in the Debug/src folder in the terminal I get following error:


Gtk-Critikal **: gtk_window_fullscreen: assertion 'GTK_IS_WIDGET (widget)' failed
Gtk-Critikal **: gtk_window_hide: assertion 'GTK_IS_WIDGET (widget)' failed
Gtk-Critikal **: gtk_window_show: assertion 'GTK_IS_WIDGET (widget)' failed

Can anybody help me with that?

 Post subject: Re: Gtk-CRITICAL **: Problem
PostPosted: Wed Feb 19, 2014 8:31 am 
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 1044
Location: UK

I expect you were running your application via Anjuta without running in the terminal. If you did you would probably still get these errors.

These are run time errors from incorrect usage of the functions gtk_window_fullscreen(), gtk_widget_show() and gtk_widget_hide(). In this case passing a pointer to an object that is not a widget.

To help you find these you can run your application in a debugger with the environment variable G_DEBUG set to fatal-warnings. This would cause the program to abort on a critical or warning error allowing your debugger to view the stack trace so that you can see where the error occurred. From there you could then find out what caused the problem.

More details can be found at


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group