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 484f95164fb..58316a0667f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11903,6 +11903,10 @@ tool_bar_lines_needed (struct frame *f, int *n_rows)
11903 11903
11904#endif /* !USE_GTK && !HAVE_NS */ 11904#endif /* !USE_GTK && !HAVE_NS */
11905 11905
11906#if defined USE_GTK || defined HAVE_NS
11907EXFUN (Ftool_bar_lines_needed, 1) ATTRIBUTE_CONST;
11908#endif
11909
11906DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed, 11910DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed,
11907 0, 1, 0, 11911 0, 1, 0,
11908 doc: /* Return the number of lines occupied by the tool bar of FRAME. 11912 doc: /* Return the number of lines occupied by the tool bar of FRAME.