Remove default settings from backends

The defaults are set in the Settings instance.
This commit is contained in:
Emmanuele Bassi 2010-06-21 17:57:57 +01:00
parent cd8548fd6f
commit e95a0c194f
2 changed files with 2 additions and 5 deletions

View File

@ -767,10 +767,6 @@ clutter_backend_egl_init (ClutterBackendEGL *backend_egl)
#ifndef COGL_HAS_XLIB_SUPPORT
ClutterBackend *backend = CLUTTER_BACKEND (backend_egl);
clutter_backend_set_resolution (backend, 96.0);
clutter_backend_set_double_click_time (backend, 250);
clutter_backend_set_double_click_distance (backend, 5);
#ifdef HAVE_TSLIB
backend_egl->event_timer = g_timer_new ();
#endif

View File

@ -569,10 +569,11 @@ clutter_backend_win32_init (ClutterBackendWin32 *backend_win32)
backend_win32->no_event_retrieval = FALSE;
backend_win32->invisible_cursor = NULL;
/* FIXME: get from GetSystemMetric? */
/* FIXME: get from GetSystemMetric?
clutter_backend_set_double_click_time (backend, 250);
clutter_backend_set_double_click_distance (backend, 5);
clutter_backend_set_resolution (backend, 96.0);
*/
/* Set the maximum precision for Windows time functions. Without
this glib will not be able to sleep accurately enough to give a