diff options
| author | Jan D | 2010-08-11 20:47:34 +0200 |
|---|---|---|
| committer | Jan D | 2010-08-11 20:47:34 +0200 |
| commit | 94dff98f390e81caedf9a79949c89f4c6e9ca56c (patch) | |
| tree | aacc8e46ef4d5e04e312dedd47c6ad115a6da25c /src | |
| parent | 3a46642b081c504b6e25c65d81999fcc0dff5fb2 (diff) | |
| download | emacs-94dff98f390e81caedf9a79949c89f4c6e9ca56c.tar.gz emacs-94dff98f390e81caedf9a79949c89f4c6e9ca56c.zip | |
* xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1275b4a8def..7e8959d4b61 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors | 3 | * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors |
| 4 | first. | 4 | first. |
| 5 | (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip. | ||
| 5 | 6 | ||
| 6 | * gtkutil.h (xg_check_special_colors): Declare. | 7 | * gtkutil.h (xg_check_special_colors): Declare. |
| 7 | 8 | ||
diff --git a/src/xfns.c b/src/xfns.c index 8544d9e3e10..e2d571a847f 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -5237,7 +5237,7 @@ Value is t if tooltip was open, nil otherwise. */) | |||
| 5237 | /* When using system tooltip, tip_frame is the Emacs frame on which | 5237 | /* When using system tooltip, tip_frame is the Emacs frame on which |
| 5238 | the tip is shown. */ | 5238 | the tip is shown. */ |
| 5239 | f = XFRAME (frame); | 5239 | f = XFRAME (frame); |
| 5240 | if (xg_hide_tooltip (f)) | 5240 | if (FRAME_LIVE_P (f) && xg_hide_tooltip (f)) |
| 5241 | frame = Qnil; | 5241 | frame = Qnil; |
| 5242 | #endif | 5242 | #endif |
| 5243 | 5243 | ||