Hide clutter_context_get_default()
The clutter_context_get_default() function is private, but shared across Clutter. For this reason, it should be prefixed by '_' so that the symbol is hidden from the shared object.
This commit is contained in:
@ -93,10 +93,10 @@ _clutter_feature_init (void)
|
||||
if (__features->features_set)
|
||||
return;
|
||||
|
||||
context = clutter_context_get_default ();
|
||||
context = _clutter_context_get_default ();
|
||||
|
||||
__features->flags = (_clutter_features_from_cogl (cogl_get_features ())
|
||||
| _clutter_backend_get_features (context->backend));
|
||||
| _clutter_backend_get_features (context->backend));
|
||||
|
||||
__features->features_set = TRUE;
|
||||
|
||||
|
Reference in New Issue
Block a user