Skip to content

Commit 47e96ee

Browse files
author
Yuuki Harano
committed
toolbar を外した。
1 parent bfc5918 commit 47e96ee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/lisp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3352,7 +3352,7 @@ struct frame;
33523352
#endif
33533353

33543354
/* Define if the windowing system provides a tool-bar. */
3355-
#if defined (USE_GTK) || defined (HAVE_NS)
3355+
#if (defined (USE_GTK) && !defined(HAVE_PGTK)) || defined (HAVE_NS)
33563356
#define HAVE_EXT_TOOL_BAR true
33573357
#endif
33583358

src/xdisp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12858,7 +12858,9 @@ redisplay_tool_bar (struct frame *f)
1285812858

1285912859
if (new_height != WINDOW_PIXEL_HEIGHT (w))
1286012860
{
12861+
#ifndef HAVE_PGTK
1286112862
x_change_tool_bar_height (f, new_height);
12863+
#endif
1286212864
frame_default_tool_bar_height = new_height;
1286312865
/* Always do that now. */
1286412866
clear_glyph_matrix (w->desired_matrix);
@@ -12953,7 +12955,9 @@ redisplay_tool_bar (struct frame *f)
1295312955

1295412956
if (change_height_p)
1295512957
{
12958+
#ifndef HAVE_PGTK
1295612959
x_change_tool_bar_height (f, new_height);
12960+
#endif
1295712961
frame_default_tool_bar_height = new_height;
1295812962
clear_glyph_matrix (w->desired_matrix);
1295912963
f->n_tool_bar_rows = nrows;

0 commit comments

Comments
 (0)