]> code.delx.au - gnu-emacs/blobdiff - src/w32fns.c
Drop WGET and revert read access to Lisp_Objects slots of struct window.
[gnu-emacs] / src / w32fns.c
index c8218c12c18b683dbf378cbaab0a852c5ae60ef1..3c40361ca86b028a3317a8e7071732ffbbfb57a3 100644 (file)
@@ -5635,13 +5635,13 @@ Text larger than the specified size is clipped.  */)
       WSET (w, total_lines, make_number (40));
     }
 
-  FRAME_TOTAL_COLS (f) = XINT (WGET (w, total_cols));
+  FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
   adjust_glyphs (f);
   w->pseudo_window_p = 1;
 
   /* Display the tooltip text in a temporary buffer.  */
   old_buffer = current_buffer;
-  set_buffer_internal_1 (XBUFFER (WGET (XWINDOW (FRAME_ROOT_WINDOW (f)), buffer)));
+  set_buffer_internal_1 (XBUFFER (XWINDOW (FRAME_ROOT_WINDOW (f))->buffer));
   BVAR (current_buffer, truncate_lines) = Qnil;
   clear_glyph_matrix (w->desired_matrix);
   clear_glyph_matrix (w->current_matrix);