aboutsummaryrefslogtreecommitdiff
path: root/qobject/qnull.c
diff options
context:
space:
mode:
Diffstat (limited to 'qobject/qnull.c')
-rw-r--r--qobject/qnull.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qobject/qnull.c b/qobject/qnull.c
index bc9fd31626..f6f55f11ea 100644
--- a/qobject/qnull.c
+++ b/qobject/qnull.c
@@ -20,3 +20,12 @@ QNull qnull_ = {
.refcnt = 1,
},
};
+
+/**
+ * qnull_is_equal(): Always return true because any two QNull objects
+ * are equal.
+ */
+bool qnull_is_equal(const QObject *x, const QObject *y)
+{
+ return true;
+}