Skip to content

Fix deprecated functions

Krifa75 requested to merge Krifa75/eog:fix-deprecated-functions into master

This merge request fix the warnings at build about the deprecated functions.

gdk_screen_get_number is easily replaced with gdk_x11_screen_get_screen_number.
For gdk_window_get_background_pattern we get the background-color property from the style context and set is as the source with gdk_cairo_set_source_rgba.

Hope it's good ! 😃

Edited by Krifa75

Merge request reports