]> git.alsa-project.org Git - alsa-tools.git/commit
envy24control: fix GtkSpinButton runtime warnings
authorAndreas Persson <andreasp56@outlook.com>
Fri, 28 Mar 2025 20:40:08 +0000 (21:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 9 Apr 2025 09:48:37 +0000 (11:48 +0200)
commit837033a108297e0207b91a3725e811b7a67ddbe8
tree1d7d11ee925925465228b4d2c4c9bc34df948f38
parent65a201fed6e54d9ab7d22269d971a0afa048152a
envy24control: fix GtkSpinButton runtime warnings

Change the parameters to gtk_adjustment_new to get rid of this runtime
warning from GTK:

GtkSpinButton: setting an adjustment with non-zero page size is
deprecated

The change is also important when envy24control is ported to GTK 3, as
the spin buttons will stop working if it's not done.

Closes: https://github.com/alsa-project/alsa-tools/pull/31
Signed-off-by: Andreas Persson <andreasp56@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
envy24control/envy24control.c