(x_create_tip_frame): Set terminal and ref count.
authorJason Rumney <jasonr@gnu.org>
Thu, 17 May 2007 00:01:32 +0000 (00:01 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 17 May 2007 00:01:32 +0000 (00:01 +0000)
src/w32fns.c

index 8963728..7c46615 100644 (file)
@@ -7247,6 +7247,8 @@ x_create_tip_frame (dpyinfo, parms, text)
      the frame is live, as per FRAME_LIVE_P.  If we get a signal
      from this point on, x_destroy_window might screw up reference
      counts etc.  */
+  f->terminal = dpyinfo->terminal;
+  f->terminal->reference_count++;
   f->output_method = output_w32;
   f->output_data.w32 =
     (struct w32_output *) xmalloc (sizeof (struct w32_output));