diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2006-12-05 05:42:47 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2006-12-05 05:42:47 +0000 |
commit | 2484917339168216bb728a9b876f911e52091c70 (patch) | |
tree | aac872560cddddefabdecd1e85259990b9e465a0 /clutter/clutter-feature.c | |
parent | bceae4370672dd528529937ed9a02466f65e43d6 (diff) | |
download | clutter-2484917339168216bb728a9b876f911e52091c70.tar.gz |
fix and clean up
Diffstat (limited to 'clutter/clutter-feature.c')
-rw-r--r-- | clutter/clutter-feature.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/clutter/clutter-feature.c b/clutter/clutter-feature.c index 031fad51d..f7f083bb2 100644 --- a/clutter/clutter-feature.c +++ b/clutter/clutter-feature.c @@ -220,11 +220,12 @@ check_vblank_env (const char *name) * without explicitely calling clutter_feature_init() inside clutter_init() * and we also need to have an open X display when we test for the features. * __features is dynamically allocated, and applications tend to badly - * crash when trying to access __features; so when can't use a NULL check - * to know whether we already invoked clutter_feature_init() once; hence, - * we must allocate it anyway, and have a flag to let us know when the - * features have been set - that is when clutter_feature_init() has been - * successfully completed with an open X display. + * crash when trying to access __features components if we did not allocate + * it; so when can't use a NULL check to know whether we already invoked + * clutter_feature_init() once; hence, we must allocate it anyway, and have + * a flag to let us know when the features have been set - that is when + * clutter_feature_init() has been successfully completed with an open + * X display. */ static void clutter_feature_init (void) |