Realize signals often arrive before allocation signals.
(let ((alien (gobject-alien widget)))
(let ((w (->requisition-fixnum width))
(h (->requisition-fixnum height)))
- (C-call "gtk_widget_set_size_request" alien w h))
+ (C-call "gtk_widget_set_size_request" alien w h)
+ ;; Init. size, for a realize signal arriving before an allocation.
+ (set-fix-rect-size! (fix-widget-geometry widget) w h))
(C-call "gtk_widget_set_has_window" alien 1)) ; WILL have when realized
(set-gtk-object-destroy-callback! widget)