blackhole89 / notekit

A GTK3 hierarchical markdown notetaking application with tablet support.
GNU General Public License v3.0
1.44k stars 61 forks source link

mainwindow: gated gdk_wayland_* calls behind version check #147

Open sp1ritCS opened 1 year ago

sp1ritCS commented 1 year ago

This should ensure that NoteKit will continue to be build on RHEL 8, as this currently fails with:

[   99s] ../mainwindow.cpp: In member function ‘void CMainWindow::SettingCsdUpdate()’:
[   99s] ../mainwindow.cpp:801:5: error: ‘gdk_wayland_window_announce_ssd’ was not declared in this scope
[   99s]      gdk_wayland_window_announce_ssd(window);
[   99s]      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   99s] ../mainwindow.cpp:801:5: note: suggested alternative: ‘gdk_wayland_window_announce_csd’
[   99s]      gdk_wayland_window_announce_ssd(window);
[   99s]      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   99s]      gdk_wayland_window_announce_csd