From: Matthias Clasen Date: Mon, 10 Apr 2023 04:24:57 +0000 (-0400) Subject: testsuite: Check widget properties better X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~422^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=87e16f3ad943463b9b6da277769e4f46c0dc77ba;p=gtk4.git testsuite: Check widget properties better Check that setting a property after resetting it works. An instance of this was fixed in the previous commit. --- 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);