diff options
| author | Jason Rumney | 2007-05-17 00:01:32 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-05-17 00:01:32 +0000 |
| commit | ebbb61be878ccf27c354fc86de4369c879cf2f74 (patch) | |
| tree | 3c8391f90382a16e9e1e3ecf81c9ff6996983638 | |
| parent | 1d00cfd429f75ba241bf833b837dde3de2431620 (diff) | |
| download | emacs-ebbb61be878ccf27c354fc86de4369c879cf2f74.tar.gz emacs-ebbb61be878ccf27c354fc86de4369c879cf2f74.zip | |
(x_create_tip_frame): Set terminal and ref count.
| -rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 89637284a39..7c46615478a 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -7247,6 +7247,8 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 7247 | the frame is live, as per FRAME_LIVE_P. If we get a signal | 7247 | the frame is live, as per FRAME_LIVE_P. If we get a signal |
| 7248 | from this point on, x_destroy_window might screw up reference | 7248 | from this point on, x_destroy_window might screw up reference |
| 7249 | counts etc. */ | 7249 | counts etc. */ |
| 7250 | f->terminal = dpyinfo->terminal; | ||
| 7251 | f->terminal->reference_count++; | ||
| 7250 | f->output_method = output_w32; | 7252 | f->output_method = output_w32; |
| 7251 | f->output_data.w32 = | 7253 | f->output_data.w32 = |
| 7252 | (struct w32_output *) xmalloc (sizeof (struct w32_output)); | 7254 | (struct w32_output *) xmalloc (sizeof (struct w32_output)); |