summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-07-08 12:12:43 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-07-08 12:12:43 +0100
commit73b043630d20ff46edb3a288d1da917680ae61e9 (patch)
tree404090d4544218492c8a09276ba9fce3c56e5781
parent96440acffec37d11717a98dc140219a36cf39483 (diff)
downloadclutter-73b043630d20ff46edb3a288d1da917680ae61e9.tar.gz
conform/pick: Print debug spew only if verbosity is toggled
-rw-r--r--tests/conform/test-pick.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conform/test-pick.c b/tests/conform/test-pick.c
index 01647d148..c10a6b080 100644
--- a/tests/conform/test-pick.c
+++ b/tests/conform/test-pick.c
@@ -47,7 +47,8 @@ shader_paint (ClutterEffect *effect,
ClutterActor *actor =
clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect));
- g_debug ("shader_paint");
+ if (g_test_verbose ())
+ g_debug ("shader_paint");
clutter_shader_effect_set_shader_source (shader,
"uniform sampler2D tex;\n"