mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-11 05:10:05 +00:00
fp-print: Just consider equal prints pointers to be equal
This commit is contained in:
@@ -596,6 +596,9 @@ fp_print_equal (FpPrint *self, FpPrint *other)
|
|||||||
g_return_val_if_fail (self->type != FPI_PRINT_UNDEFINED, FALSE);
|
g_return_val_if_fail (self->type != FPI_PRINT_UNDEFINED, FALSE);
|
||||||
g_return_val_if_fail (other->type != FPI_PRINT_UNDEFINED, FALSE);
|
g_return_val_if_fail (other->type != FPI_PRINT_UNDEFINED, FALSE);
|
||||||
|
|
||||||
|
if (self == other)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
if (self->type != other->type)
|
if (self->type != other->type)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user