diff options
| author | Stephen Leake | 2019-04-11 14:00:02 -0700 |
|---|---|---|
| committer | Stephen Leake | 2019-04-11 14:00:02 -0700 |
| commit | 7ba7def5caf7ec9d9bebffff489f0a658229fbda (patch) | |
| tree | e0cfcb59937ca0528fb81769d7d48a904a91f5dc /src/xwidget.c | |
| parent | 7768581172e11be52b1fcd8224f4594e126bbdb7 (diff) | |
| parent | de238b39e335c6814283faa171b35145f124edf2 (diff) | |
| download | emacs-7ba7def5caf7ec9d9bebffff489f0a658229fbda.tar.gz emacs-7ba7def5caf7ec9d9bebffff489f0a658229fbda.zip | |
Merge commit 'de238b39e335c6814283faa171b35145f124edf2'
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) |