GNOME Bugzilla – Bug 703154
Calling gtk_widget_set_opacity() on an unrealized widget triggers a segfault
Last modified: 2013-07-04 11:46:23 UTC
gtk_widget_set_opacity() unconditionally calls gtk_widget_update_alpha(), which tries to access the GdkWindow → BOOM. I think it should be enough to move the update_alpha() under a condition check on get_realized(); once the widget is realized, there should be an emission of GtkWidget::style-updated, which in turn will call update_alpha().
fixed this in master.