* src/xwidget.c (Fmake_xwidget): Use gtk_container_check_resize instead.
(Fxwidget_resize): Use gtk_container_check_resize instead.
; Gtk+3 document says:
; > Applications should not use any API specific to GtkWindow
; > to operate on this object. It should be treated as a GtkBin
; > that has no parent widget.
# endif
xw->widgetwindow_osr = gtk_offscreen_window_new ();
+#ifndef HAVE_PGTK
gtk_window_resize (GTK_WINDOW (xw->widgetwindow_osr), xw->width,
xw->height);
+#else
+ gtk_container_check_resize (GTK_CONTAINER (xw->widgetwindow_osr));
+#endif
if (EQ (xw->type, Qwebkit))
{
#ifdef USE_GTK
if (xw->widget_osr)
{
+#ifndef HAVE_PGTK
gtk_window_resize (GTK_WINDOW (xw->widgetwindow_osr), xw->width,
xw->height);
+#else
+ gtk_container_check_resize (GTK_CONTAINER (xw->widgetwindow_osr));
+#endif
gtk_container_resize_children (GTK_CONTAINER (xw->widgetwindow_osr));
gtk_widget_set_size_request (GTK_WIDGET (xw->widget_osr), xw->width,
xw->height);