summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2001-02-14 06:16:17 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2001-02-14 06:16:17 +0000
commitdae99c141e7d56cd43d09a2f280aeaae18c3cdea (patch)
tree269292ecd194ee66deced54614004ed6e5df3b5c /test
parent087af83547d0865ca6557071b90d60ca650e7c05 (diff)
downloadnautilus-dae99c141e7d56cd43d09a2f280aeaae18c3cdea.tar.gz
Two very tiny tweaks to help debug clipping bugs.
* test/test-nautilus-glyph.c: (main): * test/test-nautilus-label-simple.c: (main): Two very tiny tweaks to help debug clipping bugs.
Diffstat (limited to 'test')
-rw-r--r--test/test-nautilus-glyph.c10
-rw-r--r--test/test-nautilus-label-simple.c1
2 files changed, 6 insertions, 5 deletions
diff --git a/test/test-nautilus-glyph.c b/test/test-nautilus-glyph.c
index a86bd17cb..a845c42e8 100644
--- a/test/test-nautilus-glyph.c
+++ b/test/test-nautilus-glyph.c
@@ -99,10 +99,10 @@ main (int argc, char* argv[])
const int opacity = NAUTILUS_OPACITY_FULLY_OPAQUE;
nautilus_art_irect_assign (&clip_area,
- 0,
- 0,
- 1000,
- 1000);
+ 50,
+ 30,
+ 200,
+ 80);
nautilus_debug_pixbuf_draw_rectangle (pixbuf,
FALSE,
@@ -119,7 +119,7 @@ main (int argc, char* argv[])
pixbuf,
x,
y,
- NULL,
+ &clip_area,//NULL,
NAUTILUS_RGBA_COLOR_OPAQUE_RED,
opacity);
diff --git a/test/test-nautilus-label-simple.c b/test/test-nautilus-label-simple.c
index 9a8ce235a..3dbcae70b 100644
--- a/test/test-nautilus-label-simple.c
+++ b/test/test-nautilus-label-simple.c
@@ -22,6 +22,7 @@ main (int argc, char* argv[])
gtk_box_pack_start (GTK_BOX (main_vbox), frame, TRUE, TRUE, 0);
} else {
label = nautilus_label_new ("This is a very intersting label\nThat has more\nthan one line.");
+ nautilus_label_make_larger (NAUTILUS_LABEL (label), 40);
gtk_container_add (GTK_CONTAINER (window), label);
}