Commit 54e95010 authored by Jan Djärv's avatar Jan Djärv
Browse files

* gtkutil.c (style_changed_cb): Check if frame is live and an

X frame.

Fixes: debbugs:14038
parent 9536ec02
2013-03-26 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (style_changed_cb): Check if frame is live and an
X frame (Bug#14038).
2013-03-26 Eli Zaretskii <eliz@gnu.org>
* w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]:
......
......@@ -1094,7 +1094,9 @@ style_changed_cb (GObject *go,
FOR_EACH_FRAME (rest, frame)
{
FRAME_PTR f = XFRAME (frame);
if (FRAME_X_DISPLAY (f) == dpy)
if (FRAME_LIVE_P (f)
&& FRAME_X_P (f)
&& FRAME_X_DISPLAY (f) == dpy)
{
x_set_scroll_bar_default_width (f);
xg_frame_set_char_size (f, FRAME_COLS (f), FRAME_LINES (f));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment