diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-10 00:24:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-10 00:24:57 -0400 |
commit | 87e16f3ad943463b9b6da277769e4f46c0dc77ba (patch) | |
tree | ab9d387aea8e661dde4944a87ff71dd2303fedfc | |
parent | aa9e83876dda6bca8ee98788436ac463ed26b6c0 (diff) | |
download | gtk+-87e16f3ad943463b9b6da277769e4f46c0dc77ba.tar.gz |
testsuite: Check widget properties better
Check that setting a property after resetting
it works. An instance of this was fixed in the
previous commit.
-rw-r--r-- | testsuite/gtk/notify.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |