From bab5c317ae3d099c84ec79ea4bfb0d880cccea37 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Tue, 3 Dec 2013 18:22:05 +0100 Subject: [PATCH] Again fix last fix. --- src/xfns.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 2222eee6097..3c8df12f8c5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3069,6 +3069,7 @@ This function is an internal primitive--use `make-frame' instead. */) happen. */ init_frame_faces (f); +#ifdef USE_GTK /* PXW: This is a duplicate from below. We have to do it here since otherwise x_set_tool_bar_lines will work with the character sizes installed by init_frame_faces while the frame's pixel size is still @@ -3082,6 +3083,7 @@ This function is an internal primitive--use `make-frame' instead. */) FRAME_TEXT_HEIGHT (f) = 0; SET_FRAME_WIDTH (f, 0); change_frame_size (f, width, height, 1, 0, 0, 1); +#endif /* USE_GTK */ /* Set the menu-bar-lines and tool-bar-lines parameters. We don't look up the X resources controlling the menu-bar and tool-bar -- 2.39.2