summaryrefslogtreecommitdiffstats
path: root/src/qtwaylandscanner
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-09-14 15:20:03 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-09-17 08:20:31 +0000
commited38c063a84cca244c1528ecddb956abdc8018a8 (patch)
tree806f074b250a5402e7d0a2955c1253171b9432b5 /src/qtwaylandscanner
parente3cb1c4e82b1172c7775ea0c8780f4b4e8fb94da (diff)
Remove ifdefs for unsupported libwayland versions
The ifdefs were for version 1.2.0. Change-Id: Ie58745c7cf4c0fba45bc5203d24e9913d3a8b8ce Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/qtwaylandscanner')
-rw-r--r--src/qtwaylandscanner/qtwaylandscanner.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qtwaylandscanner/qtwaylandscanner.cpp b/src/qtwaylandscanner/qtwaylandscanner.cpp
index c08c00f4f..ec1341e8a 100644
--- a/src/qtwaylandscanner/qtwaylandscanner.cpp
+++ b/src/qtwaylandscanner/qtwaylandscanner.cpp
@@ -772,9 +772,6 @@ bool Scanner::process()
printf(" that->m_resource_map.remove(resource->client(), resource);\n");
printf(" that->%s_destroy_resource(resource);\n", interfaceNameStripped);
printf(" delete resource;\n");
- printf("#if !WAYLAND_VERSION_CHECK(1, 2, 0)\n");
- printf(" free(client_resource);\n");
- printf("#endif\n");
printf(" }\n");
printf("\n");