[Libguestfs] [p2v PATCH 2/3] build: disable deprecated GTK stuff

Pino Toscano ptoscano at redhat.com
Fri Aug 30 10:34:48 UTC 2019


We are not using deprecated GTK APIs/stuff, so make sure to not
accidentally use them, and easily catch more deprecations in the future.
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index d359a5b..b4f0014 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -139,6 +139,7 @@ nodist_virt_p2v_SOURCES = \
 
 virt_p2v_CPPFLAGS = \
 	-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
+	-DGTK_DISABLE_DEPRECATED \
 	-I$(srcdir)/libguestfs \
 	-I$(srcdir)/miniexpect \
 	-I$(srcdir)/gnulib/lib -Ignulib/lib
-- 
2.21.0




More information about the Libguestfs mailing list