backend: Provide a default get_features() implementation

Continue gutting ClutterBackendCogl; get_features() is the last bit that
still does something, but now we can use the Cogl API.
This commit is contained in:
Emmanuele Bassi
2011-11-04 16:13:04 +00:00
parent b97324ee9f
commit 80fdbeb954
5 changed files with 49 additions and 77 deletions

View File

@ -218,11 +218,13 @@ clutter_backend_gdk_dispose (GObject *gobject)
static ClutterFeatureFlags
clutter_backend_gdk_get_features (ClutterBackend *backend)
{
ClutterFeatureFlags flags = CLUTTER_FEATURE_STAGE_USER_RESIZE | CLUTTER_FEATURE_STAGE_CURSOR;
ClutterBackendClass *parent_class;
flags |= CLUTTER_BACKEND_CLASS (clutter_backend_gdk_parent_class)->get_features (backend);
parent_class = CLUTTER_BACKEND_CLASS (clutter_backend_gdk_parent_class);
return flags;
return parent_class->get_features (backend)
| CLUTTER_FEATURE_STAGE_USER_RESIZE
| CLUTTER_FEATURE_STAGE_CURSOR;
}
static void