aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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.