projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9e838
)
testsuite: Check widget properties better
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 10 Apr 2023 04:24:57 +0000
(
00:24
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 10 Apr 2023 04:24:57 +0000
(
00:24
-0400)
Check that setting a property after resetting
it works. An instance of this was fixed in the
previous commit.
testsuite/gtk/notify.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/notify.c
b/testsuite/gtk/notify.c
index d9bdc2eb07abc93f9d9e396bf3d38a479de3153a..3f313ac435459e0b25b1f65fffb0b2a2b8d18c3d 100644
(file)
--- 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);