mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
Make the backend add_option function optional.
This commit is contained in:
parent
b1aa854ec6
commit
87d163db5c
@ -1,3 +1,8 @@
|
||||
2007-07-09 Richard Purdie <rpurdie@openedhand.com>
|
||||
|
||||
* clutter/clutter-backend.c:
|
||||
Make the backend add_option function optional.
|
||||
|
||||
2007-07-09 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-behaviour-depth.h:
|
||||
|
@ -107,9 +107,13 @@ void
|
||||
_clutter_backend_add_options (ClutterBackend *backend,
|
||||
GOptionGroup *group)
|
||||
{
|
||||
ClutterBackendClass *klass;
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_BACKEND (backend));
|
||||
|
||||
CLUTTER_BACKEND_GET_CLASS (backend)->add_options (backend, group);
|
||||
klass = CLUTTER_BACKEND_GET_CLASS (backend);
|
||||
if (klass->add_options)
|
||||
return klass->add_options (backend, group);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user