Add internal constructor function for each backend
We're going to use it to create an instance of each backend without using the get_type() function.
This commit is contained in:
@ -239,3 +239,9 @@ DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
ClutterBackend *
|
||||
clutter_backend_win32_new (void)
|
||||
{
|
||||
return g_object_new (CLUTTER_TYPE_BACKEND_WIN32, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user