Shut up GTK warning on realize widget.
authorDaniel Carl <danielcarl@gmx.de>
Wed, 19 Oct 2016 20:37:14 +0000 (22:37 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 19 Oct 2016 20:37:14 +0000 (22:37 +0200)
commit4f7482e2f6c4263e0d0fd2116a2e2fa05a61f5e9
tree86cc4e42124653bce2cf2e4477f0a7c6f0fca48f
parent512ea79df8cf2d0e6473f4a4a980e427f7352a78
Shut up GTK warning on realize widget.

We have to call gtk_widget_get_preferred_size to avoid warning like this
when the window widget is realized.

> Allocating size to WebKitWebViewBase 0x280c380 without calling
> gtk_widget_get_preferred_width/height(). How does the code know the size
> to allocate?
src/main.c