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:
Emmanuele Bassi
2009-06-17 17:59:54 +01:00
parent 8c676ebd87
commit c6fba47a52
18 changed files with 87 additions and 88 deletions

View File

@ -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;