From: Grégoire Jadi Date: Fri, 28 Jun 2013 15:16:47 +0000 (+0200) Subject: * src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR. X-Git-Tag: emacs-25.0.90~2894^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=663f9967776849d01247afa8c9413f95935b13b4;p=emacs.git * src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR. --- 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;