rem: type = cd_detect_type (device, &error);
add: type = totem_cd_detect_type (device, &error);
context: on_play_disc1_activate (GtkButton *button, Totem *totem){	MediaType type;	GError *error = NULL;	const gchar *device;	device = gconf_client_get_string (totem->gc,					  GCONF_PREFIX"/mediadev", NULL);	type = cd_detect_type (device, &error);	switch (type) {		case MEDIA_TYPE_ERROR:			totem_action_error ("Failed to play Audio/Video Disc",					    error ? error->message : "Reason unknown",					    totem);			return;		case MEDIA_TYPE_DATA:			/* Maybe set default location to the mountpoint of			 * this device?... */			on_open1_activate (button, totem);			return;		case MEDIA_TYPE_DVD:		case MEDIA_TYPE_VCD:		case MEDIA_TYPE_CDDA:			totem_action_play_media (totem, type);			break;		default:			g_assert_not_reached ();	}}