summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-01-15 14:09:12 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-01-15 14:13:10 -0500
commitfa7207dcddffaedaeb3dc8037e01dd7102547a90 (patch)
tree45ee9fef8a85ed4fa78d2aa7f925d41a1be8033e /tests
parent800e605cb3c1ae7eac1cf09ec8f55503a090b9c1 (diff)
downloadgtk+-fa7207dcddffaedaeb3dc8037e01dd7102547a90.tar.gz
Add an non-symmetric mark example
This makes it easier to spot problems with inverting.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testscale.c1
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);