emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101052: * xfns.c (Fx_hide_tip): Chec


From: Jan D
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101052: * xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
Date: Wed, 11 Aug 2010 20:47:34 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101052
committer: Jan D <address@hidden>
branch nick: trunk
timestamp: Wed 2010-08-11 20:47:34 +0200
message:
  * xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
modified:
  src/ChangeLog
  src/xfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-08-11 18:28:10 +0000
+++ b/src/ChangeLog     2010-08-11 18:47:34 +0000
@@ -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.
 

=== modified file 'src/xfns.c'
--- a/src/xfns.c        2010-08-11 18:28:10 +0000
+++ b/src/xfns.c        2010-08-11 18:47:34 +0000
@@ -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
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]