From 663f9967776849d01247afa8c9413f95935b13b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Jadi?= Date: Fri, 28 Jun 2013 17:16:47 +0200 Subject: [PATCH] * src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR. --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwidget.c b/src/xwidget.c index 2f5e423ce42..f0f1b987005 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -215,7 +215,7 @@ TYPE is a symbol which can take one of the following values: xw->height = XFASTINT(height); xw->width = XFASTINT(width); - XSETPSEUDOVECTOR (val, xw, PVEC_XWIDGET); // set the vectorlike_header of VAL with the correct value + XSETXWIDGET (val, xw); // set the vectorlike_header of VAL with the correct value Vxwidget_list = Fcons (val, Vxwidget_list); xw->widgetwindow_osr = NULL; xw->widget_osr = NULL; -- 2.39.2