From 87e16f3ad943463b9b6da277769e4f46c0dc77ba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 10 Apr 2023 00:24:57 -0400 Subject: [PATCH] testsuite: Check widget properties better Check that setting a property after resetting it works. An instance of this was fixed in the previous commit. --- testsuite/gtk/notify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index d9bdc2eb07..3f313ac435 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -383,6 +383,9 @@ check_property (GObject *instance, GParamSpec *pspec) g_object_set (instance, pspec->name, NULL, NULL); assert_notifies (instance, pspec->name, data.count, 2); + g_object_set (instance, pspec->name, value, NULL); + assert_notifies (instance, pspec->name, data.count, 3); + g_object_unref (value); g_signal_handler_disconnect (instance, id); -- 2.30.2