changeset 109750:0851022edd4b

* xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
author Jan D <jan.h.d@swipnet.se>
date Wed, 11 Aug 2010 20:47:34 +0200
parents be18c3b67d66
children 90428e3ef1f1
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 11 20:28:10 2010 +0200
+++ b/src/ChangeLog	Wed Aug 11 20:47:34 2010 +0200
@@ -2,6 +2,7 @@
 
 	* xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
 	first.
+	(Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
 
 	* gtkutil.h (xg_check_special_colors): Declare.
 
--- a/src/xfns.c	Wed Aug 11 20:28:10 2010 +0200
+++ b/src/xfns.c	Wed Aug 11 20:47:34 2010 +0200
@@ -5237,7 +5237,7 @@
   /* When using system tooltip, tip_frame is the Emacs frame on which
      the tip is shown.  */
   f = XFRAME (frame);
-  if (xg_hide_tooltip (f))
+  if (FRAME_LIVE_P (f) && xg_hide_tooltip (f))
     frame = Qnil;
 #endif