# HG changeset patch # User Jan D # Date 1281552454 -7200 # Node ID 0851022edd4be902b9b6dbd5d2bebc2bd3737896 # Parent be18c3b67d66d74943a1aeec22a26875daf7d659 * xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip. diff -r be18c3b67d66 -r 0851022edd4b src/ChangeLog --- 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. diff -r be18c3b67d66 -r 0851022edd4b src/xfns.c --- 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