Since GTK+ 2.24 the following functions used by glib demo is deprecated:
This causes implicit decleration problems.
Created attachment 52572 [details] [review]
avoid use of deprecated functions
This patch avoids the use of deprecated functions, instead using new API introduced in GTK+ 2.24. I tested the autotools changes and ran the demo, and it seems to work as before.
*** Bug 30998 has been marked as a duplicate of this bug. ***
poppler-glib-demo has been ported to GTK3 and it doesn't use deprecated symbols anymore.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.