summaryrefslogtreecommitdiff
path: root/tests/testtooltips.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-24 21:04:49 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-24 22:37:02 -0500
commite73a40733f08b3d1d9cd5ce9927b6bdebbb6e8cf (patch)
tree2728bbbed4e9ab8ff21a46f100fd1fb1cff5fa0a /tests/testtooltips.c
parent259f465e015756ee2724f182356fd6cd439e9bff (diff)
downloadgtk+-e73a40733f08b3d1d9cd5ce9927b6bdebbb6e8cf.tar.gz
Rename GtkSpinner::active to ::spinning
And add a setter and getter. The old name was confusing with the widget state of the same name. 'Active' is just too overloaded.
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r--tests/testtooltips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 9b48d6e5a2..6139eca138 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -428,7 +428,7 @@ main (int argc, char *argv[])
button = gtk_label_new ("Hidden here");
custom = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
gtk_container_add (GTK_CONTAINER (custom), gtk_label_new ("See, custom"));
- gtk_container_add (GTK_CONTAINER (custom), g_object_new (GTK_TYPE_SPINNER, "active", TRUE, NULL));
+ gtk_container_add (GTK_CONTAINER (custom), g_object_new (GTK_TYPE_SPINNER, "spinning", TRUE, NULL));
g_object_ref_sink (custom);
g_object_set (button, "has-tooltip", TRUE, NULL);
gtk_container_add (GTK_CONTAINER (box2), button);
@@ -438,7 +438,7 @@ main (int argc, char *argv[])
button = gtk_label_new ("Custom tooltip II");
custom = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
gtk_container_add (GTK_CONTAINER (custom), gtk_label_new ("See, custom too"));
- gtk_container_add (GTK_CONTAINER (custom), g_object_new (GTK_TYPE_SPINNER, "active", TRUE, NULL));
+ gtk_container_add (GTK_CONTAINER (custom), g_object_new (GTK_TYPE_SPINNER, "spinning", TRUE, NULL));
g_object_ref_sink (custom);
g_object_set (button, "has-tooltip", TRUE, NULL);
g_signal_connect (button, "query-tooltip",