Fix deprecation warnings in several modules
This is completely untested, and only fixes the low-hanging fruit.
Remaining issues:
- libscreenshot uses
gdk_screen_get_active_window
, which according to the deprecation warning, doesn't have a substitute. - libnotifications uses the
gdk_screen_get_width
and_height
. Is it OK to use monitor geometry instead? - libnotifications uses the integer result of
gdk_screen_get_monitor_at_point
to directly access a local array. The code has to be rewritten as the replacement function returns an object. It can probably be replaced by a hashmap on the monitor pointer.
Edited by Ori Avtalion