File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3352,7 +3352,7 @@ struct frame;
3352
3352
#endif
3353
3353
3354
3354
/* 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 )
3356
3356
#define HAVE_EXT_TOOL_BAR true
3357
3357
#endif
3358
3358
Original file line number Diff line number Diff line change @@ -12858,7 +12858,9 @@ redisplay_tool_bar (struct frame *f)
12858
12858
12859
12859
if (new_height != WINDOW_PIXEL_HEIGHT (w))
12860
12860
{
12861
+ #ifndef HAVE_PGTK
12861
12862
x_change_tool_bar_height (f, new_height);
12863
+ #endif
12862
12864
frame_default_tool_bar_height = new_height;
12863
12865
/* Always do that now. */
12864
12866
clear_glyph_matrix (w->desired_matrix);
@@ -12953,7 +12955,9 @@ redisplay_tool_bar (struct frame *f)
12953
12955
12954
12956
if (change_height_p)
12955
12957
{
12958
+ #ifndef HAVE_PGTK
12956
12959
x_change_tool_bar_height (f, new_height);
12960
+ #endif
12957
12961
frame_default_tool_bar_height = new_height;
12958
12962
clear_glyph_matrix (w->desired_matrix);
12959
12963
f->n_tool_bar_rows = nrows;
You can’t perform that action at this time.
0 commit comments