Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xfce4 with GTK problem ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pluto Woo
n00b
n00b


Joined: 09 Mar 2017
Posts: 3

PostPosted: Thu Mar 09, 2017 7:49 am    Post subject: [SOLVED] Xfce4 with GTK problem ? Reply with quote

I followed the Xfce/Guide in Chinese...
https://wiki.gentoo.org/wiki/Xfce/Guide/zh-cn

I set the USE in /etc/portage/make.conf like this:
USE="-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X"

The Xfce4 is working well, except one problem... When logout the Graphic into text tty mod, there are full of screen with these words:
Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
…………

Though it is seemed everything working normally, the problem is still a trouble...
How to fix this ?
Thanks


Last edited by Pluto Woo on Fri Mar 10, 2017 1:41 am; edited 2 times in total
Back to top
View user's profile Send private message
ShyPixie
n00b
n00b


Joined: 20 Nov 2015
Posts: 19
Location: Brazil

PostPosted: Thu Mar 09, 2017 7:30 pm    Post subject: Reply with quote

Short:

This is not a problem.

Long:

The error occurs because when you logout:

1) Some program destroy a widget before the window is destroyed (It's a command sent by "program")
2) Then when that window is destroyed it tries to destroy that widget (it's a command sent by Gtk library)
3) but... the widget not exist anymore at this point... (assertion `GTK_IS_WIDGET (widget)' failed)
4) So, the gtk_widget_destroy command (sent by Gtk library) will fail

Maybe you can ask the programmer to fix this, but if you want to start a "track" of problems like this, you will have to report 70% of all the programs made in Gtk, and in some high-level languages it can not even be possible, since the programmer do not have direct access to the library.

BUT... you can send all output to a file or /dev/null to prevent messages like this
Back to top
View user's profile Send private message
Pluto Woo
n00b
n00b


Joined: 09 Mar 2017
Posts: 3

PostPosted: Fri Mar 10, 2017 1:21 am    Post subject: Reply with quote

I see
So it is

Thank you !

ShyPixie wrote:
Short:

This is not a problem.

Long:

The error occurs because when you logout:

1) Some program destroy a widget before the window is destroyed (It's a command sent by "program")
2) Then when that window is destroyed it tries to destroy that widget (it's a command sent by Gtk library)
3) but... the widget not exist anymore at this point... (assertion `GTK_IS_WIDGET (widget)' failed)
4) So, the gtk_widget_destroy command (sent by Gtk library) will fail

Maybe you can ask the programmer to fix this, but if you want to start a "track" of problems like this, you will have to report 70% of all the programs made in Gtk, and in some high-level languages it can not even be possible, since the programmer do not have direct access to the library.

BUT... you can send all output to a file or /dev/null to prevent messages like this
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum