aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-09-11 12:31:33 +0200
committerJoakim Verona2013-09-11 12:31:33 +0200
commit41390a42c5c18af8a112d7481875fe25e42b659c (patch)
tree79ec26d3af83b103bd24ba985f785d29ffa376cf /src
parentd1ae916c78cf224dd9b107b42d1258db7b096c11 (diff)
parentf5dacaaec042fe230859469ebd5e307f78448ac4 (diff)
downloademacs-41390a42c5c18af8a112d7481875fe25e42b659c.tar.gz
emacs-41390a42c5c18af8a112d7481875fe25e42b659c.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 83e5dbcdaff..6e527b996dd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-09-11 Paul Eggert <eggert@cs.ucla.edu>
2
3 * xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
4 avoiding a GCC warning.
5
12013-09-11 Dmitry Antipov <dmantipov@yandex.ru> 62013-09-11 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 Ifdef away frame tool bar code when it is not really used. 8 Ifdef away frame tool bar code when it is not really used.
diff --git a/src/xdisp.c b/src/xdisp.c
index 1a7cdb88db5..67bf15bddd1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11959,6 +11959,10 @@ tool_bar_lines_needed (struct frame *f, int *n_rows)
11959 11959
11960#endif /* !USE_GTK && !HAVE_NS */ 11960#endif /* !USE_GTK && !HAVE_NS */
11961 11961
11962#if defined USE_GTK || defined HAVE_NS
11963EXFUN (Ftool_bar_lines_needed, 1) ATTRIBUTE_CONST;
11964#endif
11965
11962DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed, 11966DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed,
11963 0, 1, 0, 11967 0, 1, 0,
11964 doc: /* Return the number of lines occupied by the tool bar of FRAME. 11968 doc: /* Return the number of lines occupied by the tool bar of FRAME.