mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -228,10 +228,8 @@ void
|
||||
clutter_win32_disable_event_retrieval (void)
|
||||
{
|
||||
ClutterBackendWin32 *backend;
|
||||
ClutterMainContext *clutter_context;
|
||||
|
||||
clutter_context = clutter_context_get_default ();
|
||||
backend = CLUTTER_BACKEND_WIN32 (clutter_context->backend);
|
||||
backend = CLUTTER_BACKEND_WIN32 (clutter_get_default_backend ());
|
||||
|
||||
backend->no_event_retrieval = TRUE;
|
||||
}
|
||||
@ -645,7 +643,7 @@ _clutter_stage_win32_window_proc (HWND hwnd, UINT umsg,
|
||||
ClutterMainContext *clutter_context;
|
||||
DWORD message_pos = GetMessagePos ();
|
||||
|
||||
clutter_context = clutter_context_get_default ();
|
||||
clutter_context = _clutter_context_get_default ();
|
||||
|
||||
msg.hwnd = hwnd;
|
||||
msg.message = umsg;
|
||||
|
Reference in New Issue
Block a user