Closed rbuj closed 3 years ago
msd-xsettings-manager.c: In function ‘scale_change_workarounds’: msd-xsettings-manager.c:577:51: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type] 577 | g_timeout_add_seconds (1, (GSourceFunc) delayed_toggle_bg_draw, (gpointer) FALSE); | ^ msd-xsettings-manager.c:578:51: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type] 578 | g_timeout_add_seconds (2, (GSourceFunc) delayed_toggle_bg_draw, (gpointer) TRUE); | ^
How do we test this?
You can change the scale:
gsettings set org.mate.interface window-scaling-factor 2
and query the value:
gsettings get org.mate.background show-desktop-icons