diff options
Diffstat (limited to 'src/xwidget.c')
| -rw-r--r-- | src/xwidget.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index c56284928e3..2486a2d4da8 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -41,14 +41,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 41 | static struct xwidget * | 41 | static struct xwidget * |
| 42 | allocate_xwidget (void) | 42 | allocate_xwidget (void) |
| 43 | { | 43 | { |
| 44 | return ALLOCATE_PSEUDOVECTOR (struct xwidget, height, PVEC_XWIDGET); | 44 | return ALLOCATE_PSEUDOVECTOR (struct xwidget, script_callbacks, PVEC_XWIDGET); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | static struct xwidget_view * | 47 | static struct xwidget_view * |
| 48 | allocate_xwidget_view (void) | 48 | allocate_xwidget_view (void) |
| 49 | { | 49 | { |
| 50 | return ALLOCATE_PSEUDOVECTOR (struct xwidget_view, redisplayed, | 50 | return ALLOCATE_PSEUDOVECTOR (struct xwidget_view, w, PVEC_XWIDGET_VIEW); |
| 51 | PVEC_XWIDGET_VIEW); | ||
| 52 | } | 51 | } |
| 53 | 52 | ||
| 54 | #define XSETXWIDGET(a, b) XSETPSEUDOVECTOR (a, b, PVEC_XWIDGET) | 53 | #define XSETXWIDGET(a, b) XSETPSEUDOVECTOR (a, b, PVEC_XWIDGET) |