diff options
-rw-r--r-- | src/ui.cc | 3 | ||||
-rw-r--r-- | src/ui.hh | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -508,7 +508,7 @@ void UI::make_progress_bars(int wide, int thin_up) * Create the "File" menu * Static function for File menu callbacks. */ -Fl_Widget *UI::make_filemenu_button() +void UI::make_filemenu_button() { CustButton *btn; int w = 0, h = 0, padding; @@ -529,7 +529,6 @@ Fl_Widget *UI::make_filemenu_button() btn->clear_visible_focus(); if (!prefs.show_filemenu) btn->hide(); - return btn; } @@ -146,7 +146,7 @@ class UI : public CustGroupVertical { void make_location(int ww); void make_progress_bars(int wide, int thin_up); void make_menubar(int x, int y, int w, int h); - Fl_Widget *make_filemenu_button(); + void make_filemenu_button(); void make_panel(int ww); void make_status_bar(int ww, int wh); |