aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-compat.h
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2020-11-03 12:36:31 -0800
committerAleksander Morgado <aleksander@aleksander.es>2020-11-05 09:07:55 +0000
commitd7288861a595db7f07b8ecf6bdc30d957b8b6843 (patch)
tree514728ffb70e3180a68cbd94022130f96767b70f /include/ModemManager-compat.h
parent30f0824ea1473f5d63a27fa4c8095a5b2858ee2d (diff)
mm-kernel-device: Fix cmp to exclude subtypes
If multiple kernel device types inherit from MMKernerDevice, and those are compared against each other, the current logic returns TRUE if the G_OBJECT_TYPE of one of them is smaller than the other. This function is checking for equality, so returning FALSE is enough.
Diffstat (limited to 'include/ModemManager-compat.h')
0 files changed, 0 insertions, 0 deletions