diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-01-15 14:09:12 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-01-15 14:13:10 -0500 |
commit | fa7207dcddffaedaeb3dc8037e01dd7102547a90 (patch) | |
tree | 45ee9fef8a85ed4fa78d2aa7f925d41a1be8033e /tests | |
parent | 800e605cb3c1ae7eac1cf09ec8f55503a090b9c1 (diff) | |
download | gtk+-fa7207dcddffaedaeb3dc8037e01dd7102547a90.tar.gz |
Add an non-symmetric mark example
This makes it easier to spot problems with inverting.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/testscale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testscale.c b/tests/testscale.c index a39d6169ed..ee5c1dfa06 100755 --- a/tests/testscale.c +++ b/tests/testscale.c @@ -115,6 +115,7 @@ int main (int argc, char *argv[]) scales = g_slist_prepend (scales, scale); gtk_scale_set_draw_value (GTK_SCALE (scale), FALSE); gtk_scale_add_mark (GTK_SCALE (scale), marks[0], GTK_POS_BOTTOM, NULL); + gtk_scale_add_mark (GTK_SCALE (scale), 25.0, GTK_POS_BOTTOM, NULL); gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_BOTTOM, NULL); gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_BOTTOM, NULL); gtk_container_add (GTK_CONTAINER (frame), scale); |