summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-04-03 11:23:57 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-04-03 11:23:57 +0200
commit71caca84d92161792861fb33381f7a9c2be05343 (patch)
tree0a9bd0ef23ba4051af4070dba1afcf87111ec7b6 /fluid
parent07bb343de7c6b4152a7eb8940da99d5d006f27cd (diff)
parent678c85027294c0ae5162d02b20a59fde758ac77a (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'fluid')
-rw-r--r--fluid/CMakeLists.txt13
-rw-r--r--fluid/tools/autodoc.cxx2
2 files changed, 1 insertions, 14 deletions
diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt
index bb28c2b9a..d1900b297 100644
--- a/fluid/CMakeLists.txt
+++ b/fluid/CMakeLists.txt
@@ -255,16 +255,3 @@ if(UNIX)
)
endforeach()
endif(UNIX)
-
-# Additional warnings during development
-
-if(APPLE)
- if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
- target_compile_options(fluid-lib PRIVATE
- -Wall -Wextra -Wpedantic -Werror
- -Wno-zero-as-null-pointer-constant
- -Wno-missing-field-initializers
- -Wno-unused-parameter
- )
- endif()
-endif(APPLE)
diff --git a/fluid/tools/autodoc.cxx b/fluid/tools/autodoc.cxx
index c87b59bc2..d7d8b14e4 100644
--- a/fluid/tools/autodoc.cxx
+++ b/fluid/tools/autodoc.cxx
@@ -418,7 +418,7 @@ void run_autodoc(const std::string &target_dir) {
// explain widget browser
// explain widget browser entry
Fluid.main_window->size(350, 320);
- fl_snapshot((target_dir + "Fluid.main_window.png").c_str(), Fluid.main_window, win_margin, win_blend);
+ fl_snapshot((target_dir + "main_window.png").c_str(), Fluid.main_window, win_margin, win_blend);
fl_snapshot((target_dir + "main_menubar.png").c_str(), Fluid.main_menubar, row_margin, row_blend);
fl_snapshot((target_dir + "main_browser.png").c_str(), widget_browser, FL_SNAP_AREA_CLEAR,
Fl_Rect(0, 30, FL_SNAP_TO_WINDOW, 100), row_blend, 2.0);