Skip to content

GTK3 preparations: GSettings, GtkBuilder, GSEAL, deprecation fixes, etc

Mart Raudsepp requested to merge mraudsepp/planner:gtk3-port-prep into master

Preparation work for GTK3 port - almost everything that can be done in preparation before switching over to GTK3:

  • Migrate from GConf to GSettings
  • Port from libglade to GtkBuilder
  • Port away from various deprecated classes (e.g. GtkOptionMenu, GtkItemFactory, GtkObject, etc) that have replacements in GTK 2 already
  • Port to cairo drawing
  • Port from PlannerCellRendererList to GtkCellRendererCombo - PlannerCellRendererList seems to have essentially been a cell renderer combo implementation that predates GtkCellRendererCombo. But GtkCellRendererCombo behaves much better, so the custom code is dropped and GTK version (existing since GTK 2.6) is used instead
  • Drop PlannerCalendar in favor of just using GtkCalendar for now (we lose different free day marking, so instead of grey background free days are bold now). PlannerCalendar was an ancient fork of GtkCalendar that only added the grey color background SHADE feature on top, but was never synced with GtkCalendar changes since its introduction
  • GSEAL compatibility (using accessor functions, so compiling with -DGSEAL_ENABLED works, as direct access won't work with GTK 3)
  • Other smaller things

Merge request reports