Fix deprecated symbols
There are many deprecated symbols in Evince, which is convenient to start fixing them, especially as a first step to (eventually) migrate to gtk+4.
So far, all the deprecated symbols up to 3.22, which is the minimum required version by Evince declared in configure.ac.
A incomplete list of deprecated symbols that we can replace or remove:
-
GtkStock text -
GtkStock icons -
Alternative button order in dialog windows. -
Use G_ADD_PRIVATE and friends. -
Replace gtk_menu_popup with gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, or gtk_menu_popup_at_rect. -
GTime -> GDateTime (deprecated in glib 2.62) -
GdkScreen monitor-related functions -> GdkMonitor -
GdkColor -> GdkRGBA -
GtkIconSet, GtkIconFactory, and GtkIconSource -> GtkIconTheme -
GtkStyleProperties -
GdkDeviceManager -> GdkSeat -
GtkAction -
GtkUIManager
Edited by Jason Crain