summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2013-12-03 18:22:05 +0100
committerMartin Rudalics <rudalics@gmx.at>2013-12-03 18:22:05 +0100
commitbab5c317ae3d099c84ec79ea4bfb0d880cccea37 (patch)
tree851c05c108999967d5f6b666e9feef8634cba562 /src/xfns.c
parent4525072b215933d69e409dfe8c2aaa73dc9f2bb9 (diff)
downloademacs-bab5c317ae3d099c84ec79ea4bfb0d880cccea37.tar.gz
Again fix last fix.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
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