Re: gtk_widget_ensure_style() and gtk_widget_style_get()

2008-04-04 Thread BJörn Lindqvist
2008/4/2 Christian Neumair [EMAIL PROTECTED]: Today I experienced an odd lockup in Nautilus (cf. attachment for the full backtrace). The innermost frames are: #1 0xb6e783ee in bsearch () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7c50047 in _gtk_style_peek_property_value () from

gtk_widget_ensure_style() and gtk_widget_style_get()

2008-04-02 Thread Christian Neumair
) are applied. On the other hand, reading the gtk_widget_ensure_style() docs suggests that a widget is not guaranteed to have a style until it is realized. I also discovered odd inconsistencies in the GTK+ source code, for instance in gtktoolbar.c the get_button_relief() function calls gtk_widget_ensure_style