From 53f2dd391a814f5143a45da8404022792eaf1ebe Mon Sep 17 00:00:00 2001 From: Joakim Verona Date: Fri, 6 Feb 2015 08:27:08 +0100 Subject: [PATCH] Fixed a gtk runtime warning A resize of wrong type --- src/xwidget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xwidget.c b/src/xwidget.c index f877ea3e533..11bf377614c 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -1313,8 +1313,8 @@ DEFUN ("xwidget-resize", Fxwidget_resize, Sxwidget_resize, 3, 3, 0, doc: gtk_widget_set_size_request (GTK_WIDGET (xw->widget_osr), xw->width, xw->height); //minimum size gtk_window_resize (GTK_WINDOW (xw->widgetwindow_osr), xw->width, xw->height); - gtk_window_resize (GTK_WINDOW (xw->widgetscrolledwindow_osr), xw->width, - xw->height); + /* gtk_window_resize (GTK_WINDOW (xw->widgetscrolledwindow_osr), xw->width, */ + /* xw->height); */ gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (xw-> widgetscrolledwindow_osr), @@ -1335,8 +1335,8 @@ DEFUN ("xwidget-resize", Fxwidget_resize, Sxwidget_resize, 3, 3, 0, doc: xv = XXWIDGET_VIEW (XCAR (tail)); if (XXWIDGET (xv->model) == xw) { - gtk_layout_set_size (GTK_LAYOUT (xv->widgetwindow), xw->width, - xw->height); + /* gtk_layout_set_size (GTK_CONTAINER (xv->widgetwindow), xw->width, */ + /* xw->height); */ gtk_widget_set_size_request (GTK_WIDGET (xv->widget), xw->width, xw->height); } -- 2.39.2