]> sigrok.org Git - pulseview.git/commit
Use g_variant_equal() instead of g_variant_compare() to compare enums.
authorMarcus Comstedt <redacted>
Sun, 4 Aug 2013 14:32:37 +0000 (16:32 +0200)
committerMarcus Comstedt <redacted>
Sun, 4 Aug 2013 14:32:37 +0000 (16:32 +0200)
commit7a2b7394beb87938121b48f81422873002d74155
tree0c8d9916f0a79f257717d008812fe719c79b7400
parent7ec01569fc3312069a9d160ffd97f69421846abc
Use g_variant_equal() instead of g_variant_compare() to compare enums.

g_variant_compare() doesn't support tuples, and we're only interrested
in equality anyway.
pv/prop/enum.cpp